Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

java security: protection domain
hi all
i asked this yesterday, but there is no one answer me. i thought
maybe i hadn't discripted clear.  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. does
that means the application can read and write in the subdirectory(/
root/user/aaa/bbb/ccc/touch.c).




thanks

best wish

Allen

Report this thread to moderator Post Follow-up to this message
Old Post
czp.opensource@gmail.com
04-03-08 11:33 AM


Re: java security: protection domain
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

Report this thread to moderator Post Follow-up to this message
Old Post
RedGrittyBrick
04-03-08 11:33 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Java Security archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 09:11 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.