Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / April 2005

Tip: Looking for answers? Try searching our database.

java policy

Thread view: 
greg hock - 12 Apr 2005 22:44 GMT
We are trying to locate and edit the appropriate java.policy file that gets
exercised on our server which has 1.50_02 installed and runs Apache 2.0.
Our problem is we get a security acces exception whenever our applet tries
to execute some code that attempts to do a System.getProperty().  We have
been told to add the following line into the java.policy file but we don't
know which one to edit (we have approximately 20 on our server).
permission java.security.SecurityPermission "com.bean.xbean.debug","read";
Selvamohan Neethiraj - 13 Apr 2005 04:16 GMT
Can you provide us the exception ?

You should add the following permission:
<code>
permission java.util.PropertyPermission "com.bean.xbean.debug", "read";
</code>

Thanks,
Selva-
selvajavaone@infotekies.com

> We are trying to locate and edit the appropriate java.policy file that
> gets
[quoted text clipped - 4 lines]
> know which one to edit (we have approximately 20 on our server).
> permission java.security.SecurityPermission "com.bean.xbean.debug","read";


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.