Using FilePermission
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Mark_Joshua
Posted On:   Sunday, October 20, 2002 11:55 PM

Hi all,

I want to grant write permission to a file, I was told that I should use FilePermission, but after looking through the API Documentation, I can't find any example about how to use it. Could someone direct me to sites or articles about this ?

Thanks in advance


Setya

Re: Using FilePermission

Posted By:   Gautam_Marwaha  
Posted On:   Monday, October 21, 2002 03:59 AM

Write permission on a file can be granted from the OS - there is nothing that java provides to over-ride this.

FilePermission - if you are using applets then you may have to give permissions. Type "policytool" to bring up the java policy file editor. Read more about this in "Tools documentation" of JDK.
About | Sitemap | Contact