472,952 Members | 2,830 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,952 software developers and data experts.

File Upload Permissions

Jay
As described in http://support.microsoft.com/kb/323246 I set the
permissions on folder that I am uploading to as full control for
Computername\ASPNET. This worked on my development laptop but not on the
production server. I was very careful to make sure the permissions were set
correctly.

In order to upload files I had to add Everyone and set permissions to full
control. Obviously, I do not want that.

Any thoughts as to why using ASPNET does not work.

Jay

Nov 19 '05 #1
2 1274
If your production server is Windows 2003 then ASP.NET runs under a
different user account by default: NetworkService
That is the account that will need the elevated permissions.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Jay" <Ar***********@microsoft.com> wrote in message
news:e%****************@TK2MSFTNGP09.phx.gbl...
As described in http://support.microsoft.com/kb/323246 I set the
permissions on folder that I am uploading to as full control for
Computername\ASPNET. This worked on my development laptop but not on the
production server. I was very careful to make sure the permissions were
set
correctly.

In order to upload files I had to add Everyone and set permissions to full
control. Obviously, I do not want that.

Any thoughts as to why using ASPNET does not work.

Jay

Nov 19 '05 #2
The first thing to do would be to figure out what user account ASP.Net is
running under on the server machine. Then assign the same permissions to it
that you assigned to the account you used on your local machine.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"Jay" <Ar***********@microsoft.com> wrote in message
news:e%****************@TK2MSFTNGP09.phx.gbl...
As described in http://support.microsoft.com/kb/323246 I set the
permissions on folder that I am uploading to as full control for
Computername\ASPNET. This worked on my development laptop but not on the
production server. I was very careful to make sure the permissions were
set
correctly.

In order to upload files I had to add Everyone and set permissions to full
control. Obviously, I do not want that.

Any thoughts as to why using ASPNET does not work.

Jay

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: balzano_1 | last post by:
Hi, im trying to upload a file from a client (windows) to an ftp server (linux), i deciede to use some of php`s functions to connect and authenticate etc.. i only wish to put a file on the server,...
6
by: jonathanmcdougall | last post by:
I have read many posts on this subject and found no satisfying answer. I am creating a file on the server via a PHP script. The file is created using GD (imagejpeg()), though I don't think it is...
6
by: Pat Carden | last post by:
Hi, We need to allow webusers to upload a file on our website (on Server3, all servers run Server 2003, remotely hosted) and eventually save it on our SBS Server (Server2) which is not exposed...
1
by: BW | last post by:
I am creating an upload/download function for an extranet site. Files will be uploaded to directory based upon the users login and associated project. The function works as long as I use "c:\Temp"...
4
by: Tony B | last post by:
I've moved an existing site (which I didn't write) from a apache/php/mysql host under windows to a linux apache/php/mysql host. I've sorted out most problems except one. There is an upload...
0
by: Tim Payne | last post by:
I have an odd permissions issue with uploading files to a windows 2003 server. I have a reasonably unusual setup. We have a php website, running through IIS that was written to use mod_rewrite....
1
by: lPrentice | last post by:
Hello, After all this time, Linux file permissions still confuse me at times. I have a Python web-based application with an file (images) upload module. The application is running on two remote...
1
by: chrisj | last post by:
I'm using freeASPupload and got some assistance integrating to a Member script. It works successfully. In this modified version there are two groups that use this upload script. Members of one...
2
by: beary | last post by:
Hello everyone, I posted this in unix/linux but it received no replies, so I assume it was the wrong forum. I'm trying here. I'm in way over my head with file permissions. The directory and...
13
by: eclipsme | last post by:
I thought I had this licked, but apparently not. I have a file upload script that attempts to upload a file to a directory in the public_html directory - www.domain.com/upload The permissions...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.