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

  • Home
  • SEARCH
  • 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 6754691
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:18:38+00:00 2026-05-26T13:18:38+00:00

On my asp.net 4.0 site I have a upload function which allow a user

  • 0

On my asp.net 4.0 site I have a upload function which allow a user to upload a document to the server.

The uploaded document is stored in a folder named c:\uploads\ and I store a reference to it in mysql db. It works well on my local development machine but not on the remote server. The remote server is a windows 2008 R2 running IIS.

I am suspecting that this has something to do with limited rights, so my question is:

Who should I give rights to write to that folder?

  • 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-26T13:18:39+00:00Added an answer on May 26, 2026 at 1:18 pm

    Look at the identity of the application pool in which the application is running. Likely it is the “Network Service” account. I supposed you’d grant read/write permissions.

    You may want to consider an alternative approach that involves storing the bytes of the uploaded files in the mysql database itself. This is quite dated but relays the general approach. http://onlamp.com/pub/a/php/2000/09/15/php_mysql.html

    The latter method has always been preferable to me from a security standpoint.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.Net site, in which I am using a ListView with a
I am building an Asp.net MVC site where I have a fast dedicated server
I am using asp.net mvc and have a section where a user can upload
I have a ASP.Net site, in which I'm trying to use Windows Authentication and
I have a asp.net website which is supposed to upload files to a handler
I'm trying to upload an excel file. I have an ASP.NET test site on
I have a simple ASP.NET MVC 1.0 site w/ Home, Upload, and About links
In my ASP.Net Web Site I have a button.When I click the button and
I have an ASP.NET Site that has a single Master Page. On one of
I have an ASP.NET site that has been running perfectly for a long time,

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.