This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Java security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java security" Watch "Java security" New topic
Author

Java security

Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
I been doing some experiments with the java's security infrastructure.
Can anyone tell me where to find good resources related to this..Like accesscontrol , previleges , policy etc.

I more question in specific.
I got the following from the javadoc 1.4 of interface PrivilegedAction.

public Object run()
Performs the computation. This method will be called by AccessController.doPrivileged after enabling privileges.


What does that enabling privileges means ? Can privileges be enabled even if when the securitymanager is not isntalled? And if the securityManages is enabled then what is the use of executing codes from within AccessController.doPrivileged()?Without AccessController.doPrivileged also permissions for the code would be checked.

I am sure I am missing something.
Thanks in advance


Rahul Bhattacharjee
LinkedIn - Blog
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Have you read this?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
Yes Paul.I have gone through this but could not get much from that.
Any other stuff would you like to suggest me.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java security
 
Similar Threads
local OS challenge
WebSphere Security
K&B Page 814 Q7 Regarding Assertions in Java
Doubt regarding AccessController.doPrivileged() usage
applet security problem