Posted By:
Rajesh_S
Posted On:
Sunday, March 24, 2002 11:02 PM
I have signed my applet with my self generated certificate. The client browser has imported this certificate in his cacerts keystore as trustcacerts. When I grant permission for my client(manually,in the client machine), I have peculiar errors. Case 1 : grant codeBase "http://***.XXX.***.XX/-" { permission java.security.AllPermission; }; This permission works fine. But the client is able to download all my applet, if signed or not. Case 2: grant SignedBy "dcard" codeBase "http://***.XXX.***.XX/-" { permission java.security.AllPermission; }; If I add the signedBy tag, this particular grant section is completely omitted by the system. That i
More>>
I have signed my applet with my self generated certificate. The client browser has imported this certificate in his cacerts keystore as trustcacerts.
When I grant permission for my client(manually,in the client machine), I have peculiar errors.
Case 1 :
grant codeBase "http://***.XXX.***.XX/-" {
permission java.security.AllPermission;
};
This permission works fine. But the client is able to download all my applet, if signed or not.
Case 2:
grant SignedBy "dcard" codeBase "http://***.XXX.***.XX/-" {
permission java.security.AllPermission;
};
If I add the signedBy tag, this particular grant section is completely omitted by the system. That is, the browsers does not recognize the signedBy tag( & its entire grant block) and throws SecurityExceptions for accessing the gatekeeper.
Please help me to grant permission for the applet coming from a particular source AND signed by a particulr person.
Thanks in advance,
Rajesh
<<Less