You are not logged in.

#1 2010-09-30 13:28:41

crescent fresh
Member
Registered: 2010-09-30
Posts: 8

java applet permissions (allow access to ports <1024 )

Hello everyone,

Not sure if this is the place to post this question but this forum has been extremely helpful to me in the past.

I'm interested in allowing a java applet to both edit my hosts file and bind to privileged ports (this is for a trusted corporate SSL VPN connection). I've tried editting my java.policy file, but it doesn't seem to affect anything. Even if I set a policy rule to temporarly allow ALL java applets to use privileged ports, it still won't work. Ditto for allowing write file permissions to /etc/hosts:

grant {
  permission java.io.FilePermission "/etc/hosts", "write";
};


The only thing that seems to work is running firefox in root, which I really don't want to do.

Am I going about this the right way? Thanks!

Offline

Board footer

Powered by FluxBB