Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Security > Re: java securi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 1766 of 1838
Post > Topic >>

Re: java security: protection domain

by RedGrittyBrick <RedGrittyBrick@[EMAIL PROTECTED] > Apr 3, 2008 at 10:03 AM

czp.opensource@[EMAIL PROTECTED]
 wrote:
> hi all
>     i asked this yesterday, 

It would be better to have made your second posting a reply to the 
first. Now you have fragmented any answers you get.


> but there is no one answer me. i thought
> maybe i hadn't discripted clear.  

I didn't answer because I didn't understand your question.


> here is the question:  there is a
> directory /root/user/aaa/bbb directory, and i give the directory
> FilePermission ("/root/user/aaa/bbb", "read,write"); permission. 

Do you mean java.io.FilePermission?

Do you refer to Java code running as an Applet or otherwise under a 
Security Manager?


> does
> that means the application can read and write in the subdirectory(/
> root/user/aaa/bbb/ccc/touch.c).

"A permission object represents, but does not grant access to, a system 
resource." - API do***entation for java.io.FilePermission


I expect that if you explain more carefully what you are trying to 
achieve, or provide a sample program, someone more knowledgeable will be 
able to answer your question.

-- 
RGB
 




 2 Posts in Topic:
java security: protection domain
"czp.opensource@[EMA  2008-04-02 21:36:18 
Re: java security: protection domain
RedGrittyBrick <RedGri  2008-04-03 10:03:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 16:19:05 CST 2008.