aspose file tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Permission File Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Developer Certification (SCJD/OCMJD)
Reply Bookmark "Permission File" Watch "Permission File" New topic
Author

Permission File

Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
For those who use a policy file, what kind of permissions did you guys grant?
Matt DeLacey
Ranch Hand

Joined: Oct 12, 2000
Posts: 318
I granted everything. It's not the best thing to do, but I didn't even feel like I should have to build a policy file, the only reason I did it was in case the dfault policy file for the grader system was too restrictive. At the very, very last I might look into going back and being more specific.
With Respect,
Matt
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
Thanks Matt.
Dilip kumar
Ranch Hand

Joined: Oct 16, 2000
Posts: 360
Do we need to include policy file in the source code ?
Thanks
Dilip
Matt DeLacey
Ranch Hand

Joined: Oct 12, 2000
Posts: 318
Well, mine works without, but my thinking is, it is probably best to include one (I just gave all permissions), for 2 reasons:
1.) Elsewhere in this forum someone said that this was something
that Sun heavily stresses a need for...
2.) What if your evaluator has a policy file that is too restrictive for one reason or another. Then your program may fail even if it does fine on your system because your default policy file isn't so restrictive. I'm not sure that this is an issue, but I'm not going to take the chance.
Dilip kumar
Ranch Hand

Joined: Oct 16, 2000
Posts: 360
I'm also thinking to include policy file. Apart from including this file I think the only change we need to make is in command line syntax ( including -D option ).
Thanks
Dilip
 
 
subject: Permission File
 
Threads others viewed
Creating a file by giving relative path
performance issues with file read and write
Struts FormFile (parsing .csv files)
java io
WA #1.....word association
developer file tools