Security Manager object on a Web browser is used to implements its security policies. Whenever a Security Manager detects a violation, it throws a SecurityException. An applet can catch this SecurityException and react according to the exception. The following are the limitations of an applet with respect to security:
- An applet cannot access data files, or store state information, on the client’s file system. It depends on the SecurityManager which files are accessible by the applet. Most of the browsers do not permit any file system access, but it is totally upto the Security Manager.
- Only reliable source of data and storage for an applet is allowed to be on its host server. It depends on the environment in which the applet is run, and as it is specified by the Security Manager.
- Applets cannot extract important information such as user name, email id, etc. about the client.
- It is not permitted to an applet to invoke any local executable program on the client’s machine.
Like this article? Share it with others
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
