O
oziris
Hi !
For my application I allow users to modify several settings and one of
them is the list of IP which are authorized to connect to a server
socket.
I know that consists in using SocketPermission class.
The stuff is that configuration should be intuitive so I want users do
not have to modify directly the java.policy file but just a simple
properties file.
Does it possible to modify programmatically java.policy? Or have I to
develop a routine that perform this check (IP related), so without
using AccessController and SecurityManager?
Thanks a lot for your advices.
-o--
For my application I allow users to modify several settings and one of
them is the list of IP which are authorized to connect to a server
socket.
I know that consists in using SocketPermission class.
The stuff is that configuration should be intuitive so I want users do
not have to modify directly the java.policy file but just a simple
properties file.
Does it possible to modify programmatically java.policy? Or have I to
develop a routine that perform this check (IP related), so without
using AccessController and SecurityManager?
Thanks a lot for your advices.
-o--