G
gbruno
I have an applet that makes a Socket Client
It runs OK from comandline appletviewer and from Firefox
BUT netbeans runs appletviewer with a tighter security policy
not allowiing sockets..
Where is netbeans SecurityPolicy??
I put this:
grant codeBase "file:C:/mydir/-" {
permission java.security.AllPermission;
};
into netbeans ide.policy
this did NOT help but I cant help feeling that ide.policy should be
placed somewhere.
How do I get netbeans IDE to have the SecurityPolicy of the naked
machine?
(please dont tell me to use some SecurityManager Class, programatically
tweaking the Security Manager is deprecated, I have it on good
authority.
Nor do I want to fiddle with signed Applets - which would mean being in
Hock to Verisign California forever)
gbruno.tblog.com
It runs OK from comandline appletviewer and from Firefox
BUT netbeans runs appletviewer with a tighter security policy
not allowiing sockets..
Where is netbeans SecurityPolicy??
I put this:
grant codeBase "file:C:/mydir/-" {
permission java.security.AllPermission;
};
into netbeans ide.policy
this did NOT help but I cant help feeling that ide.policy should be
placed somewhere.
How do I get netbeans IDE to have the SecurityPolicy of the naked
machine?
(please dont tell me to use some SecurityManager Class, programatically
tweaking the Security Manager is deprecated, I have it on good
authority.
Nor do I want to fiddle with signed Applets - which would mean being in
Hock to Verisign California forever)
gbruno.tblog.com