Click here to Skip to main content
15,746,108 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I made a project in java using swings,in which i am facing problems:-
one of the feature in the project is to encrypt the file and save it in another file after encryption but my project doesn't allow me to save the file in any disk rather than the desktop.......
it says error while saving

1 solution

You do not have the right to save in other locations.

Default Policy Implementation and Policy File Syntax[^]

Read it.
Share this answer
Sergey Alexandrovich Kryukov 22-Nov-12 11:51am    
Ha, policy... A 5. :-)
Tarun Batra 22-Nov-12 11:54am    
sir can you tell what need to be done

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900