Solved

files

Posted on 1998-07-23
7
125 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
ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 

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

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
split53 challenge 7 97
Java - Why doesn't this JFrame work 3 59
even odd program using while loop 3 41
expectj telnet failing 5 36
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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

803 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