Applet Sandbox Rules

H

Hal Vaughan

I've tried Googling but I've found conflicting answers and the clearest I've
gotten is that the rules for the sandbox an applet runs in varies according
to each browser.

I've read, for example, that applets don't have access to files on the local
file system, but I've used applets that let me upload files to a website.

Where can I find out what the rules about applet sandboxes are? For
example, if I could have an applet load and save files locally and send
them to a local printer, then I could write a program that I've given to
some people as an applet and it would make updating it much easier.

Yes, I realize an applet reading and writing files and using the printer is
a security risk, but if it's already allowable, then I could use it. Is
there a good, reliable site with information on this?

Thanks!

Hal
 
B

bencoe

I've tried Googling but I've found conflicting answers and the clearest I've
gotten is that the rules for the sandbox an applet runs in varies according
to each browser.

I've read, for example, that applets don't have access to files on the local
file system, but I've used applets that let me upload files to a website.

Where can I find out what the rules about applet sandboxes are? For
example, if I could have an applet load and save files locally and send
them to a local printer, then I could write a program that I've given to
some people as an applet and it would make updating it much easier.

Yes, I realize an applet reading and writing files and using the printer is
a security risk, but if it's already allowable, then I could use it. Is
there a good, reliable site with information on this?

Thanks!

Hal

You can make an Applet do pretty much anything if you sign it. Look
into applet signing, I know sun has a few tutorials... It's a real
pain in the ass mind you.
 
A

Andrew Thompson

Hal said:
I've tried Googling but I've found conflicting answers and the clearest I've
gotten is that the rules for the sandbox an applet runs in varies according
to each browser.

For the most part that is false, but there ar some quirks,
especially when it comes to the OS component supplied
by MS (AKA IE).

Why are you running an applet, rather than a web start
application?

If 'predictable sandbox behaviour' is tantamount to this
applet, a JWS launch would be the best way to go.
Yes, I realize an applet reading and writing files and using the printer is
a security risk, but if it's already allowable, then I could use it.

The web start API provides printing and file access for
sandboxed applets and applications.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top