File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applets security problem

 
Suman Madan
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am a beginner and i need help........
I have a applet which reads data from a database and transfers the data onto to a txt file.
The applet and the database reside on the same server. There is no problem in getting the database connection. My problem occurs when it writes the txt file back to the same server. It gives the error :
java.security.AccessControlException: access denied (java.io.FilePermission ..........
I have made the necessary changes in the policy file.
Should I be using the socket method to write the file back?
Thanks in advance for help
regards
Suman
 
Marcus Green
arch rival
Rancher
Posts: 2813
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This forum is intended for questions and comments about this web site, www.javaranch.com. It is not for questions about the Java language - that's what all our other forums are for.
 
Ajith Kallambella
Sheriff
Posts: 5782
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am moving this discussion to a more appropriate place, the Java in General( intermediate ) forum.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic