new SecurityManager and SocketPermission
Hello,
To secure a distributed application, we use a ClassLoader to apply our security policy to restrict access only to some files.
I can't execute the application yet so I'm wondering about another point concerning socket communications.
For example, whith the code socket.getInetAddress().getHostAddress()
Do I have to add a new SocketPermission ? If so, with witch action (accept, connect, listen, resolve) ?
How do I know which method requires which Permission ?
Could that code work without it ?
Thanx.

