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 / February 2004

Tip: Looking for answers? Try searching our database.

Java.security.AccessControlException : workaround ?

Thread view: 
Max - 17 Feb 2004 17:32 GMT
Hi all

I want to build an Applet that use Robot Class to capture screen :
Robot myRobot = new Robot(myGraphicsDevice);

the problem is that the Java output panel show this message:
java.security.AccessControlException: access denied (java.awt.AWTPermission
createRobot)
at java.security.AccessControlContext.checkPermission(Unknown Source)

Can anyone tell my the reason of this exception ????

best regard,
max
Tony Morris - 17 Feb 2004 22:30 GMT
> Hi all
>
[quoted text clipped - 10 lines]
> best regard,
> max

Yep, you'll have to sign your applet.

Signature

Tony Morris
(BInfTech, Cert 3 I.T.)
Software Engineer
IBM Australia - Tivoli Security Software
(2003 VTR1000F)
Sun Certified Programmer for the Java 2 Platform (1.4)
Sun Certified Developer for the Java 2 Platform

Max - 18 Feb 2004 08:56 GMT
> Yep, you'll have to sign your applet.

What do you mind about "sign your applet" ?
I must use a software to sign an applet or automatic process ?

max
KC Wong - 18 Feb 2004 09:17 GMT
> > Yep, you'll have to sign your applet.
>
> What do you mind about "sign your applet" ?
> I must use a software to sign an applet or automatic process ?

Search the web before asking newbie questions please?

Roedy Green's FAQ:
http://www.mindprod.com/jgloss/security.html#SECURITY
http://www.mindprod.com/jgloss/signedapplets.html

Sun Micro.
http://java.sun.com/docs/books/tutorial/security1.2/index.html


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.