Hi I have created a Self Signed Applet , but not able to access local files system .What have i to do ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
you need to wrap your IO code inside PrivilegedAction.
Generally, you need to sign your applet with your test certificate, the user will see a warning and will have to accept the certificate when it loads the applet.
then you need to wrap your code inside a PriviligedAction. see this for some examples.