Does anyone know how I can give an applet access to a user's files? I'm trying to make an online family-tree program that can seave files, etc. I was thinking cgi, and I was told about FindAPPLET but I have no idea what or where that is!
Does anyone know how I can give an applet access to a user's files? I'm trying to make an online family-tree program that can seave files, etc. I was thinking cgi, and I was told about FindAPPLET but I have no idea what or where that is!
I don't have an answer, but I actually thought it was built into Java's VM not to let applets have access to user files. They have many security restrictions on them, unlike Active X, which is notoriously unsecure, but able to access anything on your computer.
As far as I know, an Applet cannot access files on your disk.
hth
-nv
She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."
When in doubt, read the FAQ.
Then ask a smart question.
Most browser security settings will not let an applet read/write files to a local system. If you're using an applet viewer on a local system might get away with it. Java applets were designed to be secure over internet (you don't want everyone to be able to write files to your computer) so you don't get much system access. Stand alone apps are free to do so though, but that probably won't help.
I think CGI would be the way to do what you want to do.
The only way I managed this with Java is by using a servlet and uploading from the HTML File upload control.
Of course you would need a servlet application server to do this, or as said before......use some other CGI (PERL, PHP, PYTHON, ColdFusion.....)