• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ACCESSCONTROLEXCEPTION....WHY in APPLETVIEWER

 
ritesh_java
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ALL:
I am working on JCE and have developed a APPLET which would interact with the local file system to get the file and encrypt the file using DES.
I am getting this error while running in the appletviewer.
----------------
java.security.AccessControlException:access denied(java.io.FilePermission <<filename>> )
----------------
I would like to know why this error is occurring.
Suggest me possible ideas for solving this problem.
Regards
Ritesh
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"ritesh_java",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out this article for some enlightenment!
http://developer.java.sun.com/developer/technicalArticles/Security/Signed/
Regards,
Manfred.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic