?
Solved

Read/Write files

Posted on 2000-05-12
9
Medium Priority
?
208 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
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

 
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 200 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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
In this post we will learn different types of Android Layout and some basics of an Android App.
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 …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses
Course of the Month12 days, 12 hours left to enroll

777 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