Read/Write files

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.
LVL 1
dmaguilloAsked:
Who is Participating?
 
ovidiucraciunCommented:
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
 
ovidiucraciunCommented:
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
 
dmaguilloAuthor Commented:
ovidiucraciun, have any examples or web page where i could obtain more info?

0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
dmaguilloAuthor Commented:
ovidiucraciun, have any examples or web page where i could obtain more info?

0
 
dmaguilloAuthor Commented:
ovidiucraciun, have any examples or web page where i could obtain more info?

0
 
ovidiucraciunCommented:
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
 
Ash_Commented:
hey man you need the Java2 plugin for that
0
 
dmaguilloAuthor Commented:
Comment accepted as answer
0
 
dmaguilloAuthor Commented:
My apologies to ovidiucraciun... So late (but so good :o)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.