Solved

Security Problem

Posted on 1998-11-23
5
198 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 20 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Application launch issue with Apache Tomcat 5 44
Weekend adv creator 3 38
Java SE 8u111  Lot of stuff broke 11 69
more than one jdk and one jre 1 41
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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 …
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…

772 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