Click to See Complete Forum and Search --> : Applet Security Permissions in Mozilla


Sawdusty
01-31-2003, 11:39 PM
This has got to be a dumb simple question, but it's got no dumb simple answers that I can find.

I have to design an applet that accesses urls from across the web and displays them in the applet. Easy enough programming.

Only, applets are only allowed to connect to the server they originated from, unless you change the permissions. I've been given step by step instructions to do this in Internet Explorer... which don't help me much. ;)

How do you change security permissions for applets using the JDK plugin and mozilla, or if that's not possible, how do you do it with appletviewer?

Thanks,
Dusty

mdwatts
02-01-2003, 11:48 AM
As in using something similiar to 'chmod ### /path/to/applet' but using Java?

Sorry I don't know, but you are now back to the top.

Tried searching the Programming/Web Serving forums just in case a similar question has been asked and answered before?

Sorry Dusty...

Sawdusty
02-01-2003, 05:39 PM
Originally posted by mdwatts
As in using something similiar to 'chmod ### /path/to/applet' but using Java?


No; it's an applet thing, not a file thing. Java doesn't give Applets permission to connect to sites except the server you downloaded it from. But if you give a specific applet "permission" to do this, it's ok. I thought you had to get certificates and stuff to do this, but apparently, at least in IE, you can do it from a dialog box in the preferences/options panes. Not in mozilla... but I assumed maybe there was a text file or something.


Tried searching the Programming/Web Serving forums just in case a similar question has been asked and answered before?


Me? Search? :eek: :rolleyes:

Could you do me a favour and move this topic into the programming forum? I wouldn't want to be accused of cross posting. Not searching is one thing, but cross posting!? ;)

Thanks,
Dusty

Sawdusty
02-12-2003, 01:19 PM
I don't know if I'll solve my problem with this, but it might help somebody in the future:

man policytool