Network Deployment (Distributed operating systems), v8.0 > Reference > Administrator best practices


Applet client security requirements

When code is loaded, it is assigned permissions based on the security policy in effect. This policy specifies the permissions that are available for code from various locations. We can initialize this policy from an external policy file.

By default, the client uses the WAS_HOME/properties/client.policy file. We must update this file with the following permission:

SocketPermission grants permission to open a port and make a connection to a host machine, which is your WAS. In the following example, yourserver.yourcompany.com is the complete host name of your WAS:

permission java.util.PropertyPermission "*", "read";
permission java.net.SocketPermission "yourserver.yourcompany.com ,"connect";


Develop applet client code

+

Search Tips   |   Advanced Search