Solved

files

Posted on 1998-07-23
7
122 Views
Last Modified: 2010-03-30
is is possible to read files in to an applet with out getting a java security exception appearing all the time
0
Comment
Question by:jimboy
  • 4
  • 3
7 Comments
 
LVL 6

Accepted Solution

by:
gadio earned 100 total points
ID: 1227926
In order to read from the client machine, there are two things that you can do:
1. Sign the applet. If you need info about this I'll add some comments.
2. In IE4 you can define your server as a "trusted zone" and remove compleatly the security restrictions on the applets coming from that site
0
 

Author Comment

by:jimboy
ID: 1227927
gadio

I was to choose option number two and remove the security restrictions would this mean I could open a file from my C drive if so...How do I go about it???
Ta...
0
 
LVL 6

Expert Comment

by:gadio
ID: 1227928
To do that  perform the following:  use view -> internet options -> security tab -> trusted site zone -> add sites -> (write the servers address) -> Add -> OK -> set Custom security level -> Settings... -> scroll to Java permissions ->   Check the "Custom" Checkbox -> Click the "Java Custom Settings..." -> Select the "Edit Permission" tab. -> Under "Run Unsigned Content" Check the "Enable" Checkbox -> Click "OK" -> Click "OK" -> Click Apply -> Click "OK".
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:jimboy
ID: 1227929
The drinks are on me...TA for your help!!!!!!!!!!!!!!!!!!!!!!!
0
 

Author Comment

by:jimboy
ID: 1227930
NO no no no it doesn't work!!! gadio I'm real stuck this doesn't seem to work and I still get a security excetion appearing in the java console. My web page isn't on the internet does this matter? I'm trying everyone to try and fix this problem and I don't know what to do...2 weeks until msc project is handed in AAARRRGGGHHHH!!!!!!!
0
 

Author Comment

by:jimboy
ID: 1227931
NO no no no it doesn't work!!! gadio I'm real stuck this doesn't seem to work and I still get a security excetion appearing in the java console. My web page isn't on the internet does this matter? I'm trying everyone to try and fix this problem and I don't know what to do...2 weeks until msc project is handed in AAARRRGGGHHHH!!!!!!!
0
 
LVL 6

Expert Comment

by:gadio
ID: 1227932
Sorry to hear that. Can you paste some code to see the problem?
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

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 last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

747 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now