?
Solved

Security Problem

Posted on 1998-11-23
5
Medium Priority
?
230 Views
Last Modified: 2010-03-30
Using an unsigned applet I would like to open a file on the computer that applet loads. I tried to change the browser proprieties but it didn't work. So, my question is: How to open this file passing the security problems.
Thanks!  
0
Comment
Question by:vali
  • 3
  • 2
5 Comments
 
LVL 16

Accepted Solution

by:
heyhey_ earned 40 total points
ID: 1228043
you can't open file on the local file system from unsigned applet if that applet is loaded from remote computer. (these are general security restrictions)
if you load applet from the local computer most probably it will be possible.

0
 

Author Comment

by:vali
ID: 1228044
Than, how can I open a file if I'am loading the applet from the local computer?

0
 
LVL 16

Expert Comment

by:heyhey_
ID: 1228045
most of the time you shouldn't have any problems - just use the standard java.io package
if you have some problems, please post the code, the exact error code and the platform (browser + version) you work with.
 
0
 

Author Comment

by:vali
ID: 1228046
OK, give me the e-mail where to post the code.
0
 
LVL 16

Expert Comment

by:heyhey_
ID: 1228047
you'd better post the code here, because future users may be interested in this question (and pay some points to see the answer)

Also, please post a small, isolated example that we can compile and test (don't forget to include your browser version)

if the example is too big - you can e-mail me at heyhey@nettaxi.com

0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses
Course of the Month15 days, 2 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question