Solved

Security Problem

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to get all the API from website? 11 104
windows explorer path to command prompt 5 54
by zero exception 10 52
Why doesn't this text field show up on my Applet frame? 2 19
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
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…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

828 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