Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Java error on Mac

Status
Not open for further replies.

modalman

Programmer
Feb 14, 2001
156
GB
Hi. I've written a Java applet that works fine on pc's but when viewed on a Mac with IE 5.2 it returns this error:

java.security.Access Control Acception; Access denied.

Does anyone know what this means and how to overcome it?
Many thanks in advance.

ASCII silly question, get a silly ANSI
 
Applets are very restricted.
They aren't allowed, for instance, to read or write files.
This was decided, to make the use of applets secure for users - the sandbox idiom.

But it turned out to be too restricted, to be very useful.

So you may now program an applet, which breaks those security restrictions, but the user has to agree explicitly, that the applet may do this or that.

Therefor you may sign your applet, and the user may proof this sign. It's all a bit complicated, and I didn't do much with applets. It was even complicated, to allow an applet to do something, which I had compiled myself.
There is the problem, that it should be avoided, people forgeing a sign, but on the other side to have a user trust a every applet from a given company.

So - all in all: I guess you have to configure the Mac IE to allow this applet to do this and that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top