• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Permission File

 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For those who use a policy file, what kind of permissions did you guys grant?
 
Matt DeLacey
Ranch Hand
Posts: 318
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Matt.
 
Dilip kumar
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do we need to include policy file in the source code ?
Thanks
Dilip
 
Matt DeLacey
Ranch Hand
Posts: 318
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic