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
posted
0
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
posted
0
Thanks Matt.
Dilip kumar
Ranch Hand
Joined: Oct 16, 2000
Posts: 360
posted
0
Do we need to include policy file in the source code ? Thanks Dilip
Matt DeLacey
Ranch Hand
Joined: Oct 12, 2000
Posts: 318
posted
0
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
posted
0
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