Solved

files

Posted on 1998-07-23
7
132 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
hibernate example for saving data 19 74
glassfish admin console 1 19
junit example issue 2 24
Given a github repo find email address of all collaborators in that repo 1 31
In this post we will learn different types of Android Layout and some basics of an Android App.
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 “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…
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:

740 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