Solved

Read/Write files

Posted on 2000-05-12
9
206 Views
Last Modified: 2010-04-01
Hi real-genius.

My question (problem): we need run read/write operations over local files from an applet. Our requirements:

  1.- The applet must run in NetS & IE
  2.- File we must read/write contains ascii code, and it`s in the same machine where applet runs.

We know the possibility to sign applets, but we prefer study other ways (if it`s possible).

Thank`s at all.
0
Comment
Question by:dmaguillo
[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
  • 5
  • 3
9 Comments
 
LVL 3

Expert Comment

by:ovidiucraciun
ID: 2804067
yes it is possible,
instead of signing the applet you edit a policy file that grant rights (read/write on the client machine) to your applet specifying the name of the applet and the URL to it.

you can use the policytool to create policy files
0
 
LVL 1

Author Comment

by:dmaguillo
ID: 2804093
ovidiucraciun, have any examples or web page where i could obtain more info?

0
 
LVL 1

Author Comment

by:dmaguillo
ID: 2804099
ovidiucraciun, have any examples or web page where i could obtain more info?

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.

 
LVL 1

Author Comment

by:dmaguillo
ID: 2804129
ovidiucraciun, have any examples or web page where i could obtain more info?

0
 
LVL 3

Expert Comment

by:ovidiucraciun
ID: 2804133
http://java.sun.com/docs/books/tutorial/security1.2/index.html
here you'll find all you need: signing or granting rights to applet by name

0
 
LVL 3

Accepted Solution

by:
ovidiucraciun earned 100 total points
ID: 2804137
more exactly go trough
http://java.sun.com/docs/books/tutorial/security1.2/tour1/index.html

and stay focused on "A CodeBase value indicates the code source location; you grant the permission(s) to code from that location. An empty CodeBase entry signifies "any code" -- it doesn't matter where the code originates"
0
 

Expert Comment

by:Ash_
ID: 2805415
hey man you need the Java2 plugin for that
0
 
LVL 1

Author Comment

by:dmaguillo
ID: 2912145
Comment accepted as answer
0
 
LVL 1

Author Comment

by:dmaguillo
ID: 2912146
My apologies to ovidiucraciun... So late (but so good :o)
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

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 …
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Suggested Courses

742 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