Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.security > #95

Re: java security: protec

From "RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this>
Subject Re: java security: protec
Message-ID <47f49d79$0$26081$db0fefd9@news.zen.co.uk> (permalink)
Newsgroups comp.lang.java.security
References <ec3f9ba6-3cea-4d98-8f94-8ee0435db1bf@s8g2000prg.googlegroups.com>
Date 2011-04-27 16:08 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.security
czp.opensource@gmail.com 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 documentation 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

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.security | Previous | NextPrevious in thread | Find similar


Thread

java security: protection czp.opensource@gmail.com.remove-dii-this - 2011-04-27 16:08 +0000
  Re: java security: protec "RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this> - 2011-04-27 16:08 +0000

csiph-web