|
Saminathan,
As far as I know, you cannot
have an applet dictate which policy file to use. If you could, then security
would be a joke. When using RMI, since you start the server yourself, you can
choose the policy file (the same holds true for a Java client). What this means
for you is that if you want the applet to have rights (outside of the sandbox)
on a client machine, either sign the jar or change the clients policy file.
At my workplace, we have an entry like this:
grant CodeBase "http://dev/-"
{
permission java.security.AllPermission; }; Which grants any applet coming from the development machine all
privileges.
Regards, John Ghidiu To change your membership options, refer to: http://www.sys-con.com/java/list.cfm |
- [jdjlist] RE: Access Denied exception from Applet John Ghidiu
- [jdjlist] RE: Access Denied exception from Applet Ilya Kagansky
