Solved

files

Posted on 1998-07-23
7
137 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
[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
  • 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
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.

 

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
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 …
The viewer will learn how to implement Singleton Design Pattern in Java.

729 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