Solved

files

Posted on 1998-07-23
7
135 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
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 …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses

738 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