Solved

Security Problem

Posted on 1998-11-23
5
223 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
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…

717 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