Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 616381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:19:17+00:00 2026-05-13T18:19:17+00:00

one of the users who is using my signed applet is unable to upload

  • 0

one of the users who is using my signed applet is unable to upload the file (basically unable to access the drive) from his netwrok drive and few of the other users who are using my signed applet able to access and upload the files from network drive. can i know what could be the reasons behind ?

Note : user who is not able access the file from network drive, he is able to access the file from network drive manually and able to copy to his local drive.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T18:19:17+00:00Added an answer on May 13, 2026 at 6:19 pm

    Make sure your wrapping the code in a privileged block or else the fact that your signing it won’t matter.

    You can use something like this to read in a file.

          File inputFile = (File) AccessController.doPrivileged(new PrivilegedAction() {
          public Object run() 
          {
             File inputFile1 = new File("C:\\Program Files\\MyFolder\\MyFile.jpg");
             return inputFile1;
          }
          });
    
      FileReader in = new FileReader(inputFile);
    

    if you want to use a variable and not static text as the file location you have to use a final variable like this.

    final String myfilename = <path or string var of filename>
    File inputFile = (File) AccessController.doPrivileged(new PrivilegedAction() {
          public Object run() 
          {
             File inputFile1 = new File(myfilename);
          }
        }};
    FileReader in = new FileReader(inputFile);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to get the users Loging name from NTLM . Any one who
One of my users is reporting a crash on his device, an iPhone 3GS.
I want to provide a progress bar for my users who upload very large
Im one of the Users who use Adblock. And i love it. That question
Which one is better and faster? why? using only one file for styling: css/style.css
I'm trying to only allow access to galleries by users who have permission to
I'm using jqGrid to display account information to users who administer those accounts, allowing
my application may have more then one users on the same phone, and i
I am making simple connection between two table - first one called users has
I have two tables, one being users and one being social networks. I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.