473,386 Members | 1,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 473,386 software developers and data experts.

web server folder security

My ASP.Net app need write permission for a folder on the
web server. What confuses me is that I can only make it
work if I give it write permission to the server machine's
Users group. It doesn't work if I give the same permission
to the IUSR_<machine name> user. It's been my
understanding all along that it is the IUSR_<machine name>
running the web server process. Now I am lot. Can someone
explain it to me?

Thanks

feng
Nov 18 '05 #1
2 1176
I believe asp.net runs under the ASPNET user by default. Try giving that
user only rights.

"feng" <an*******@discussions.microsoft.com> wrote in message
news:24*****************************@phx.gbl...
My ASP.Net app need write permission for a folder on the
web server. What confuses me is that I can only make it
work if I give it write permission to the server machine's
Users group. It doesn't work if I give the same permission
to the IUSR_<machine name> user. It's been my
understanding all along that it is the IUSR_<machine name>
running the web server process. Now I am lot. Can someone
explain it to me?

Thanks

feng

Nov 18 '05 #2
It really depends on what you are doing. IUSR_MachineName is the anonymous
account. If you are truly running a process on behest of the anonymous user,
give IUSR_MachineName rights. In traditional ASP, IUSR_MachineName was a bit
more of a king.

In ASP .NET, there are some other accounts created to run behind the scenes
processes. For example, you have an ASPNET machine account. This account is
where much of the code runs (as well as the worker process). Giving this
account access is often more important than IUSR_MachineName.

I won't even mention IWAM_MachineName right now, as it could get a bit too
deep.

NOTE: ASPNET is a User, which is why giving access to Users works.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"feng" <an*******@discussions.microsoft.com> wrote in message
news:24*****************************@phx.gbl...
My ASP.Net app need write permission for a folder on the
web server. What confuses me is that I can only make it
work if I give it write permission to the server machine's
Users group. It doesn't work if I give the same permission
to the IUSR_<machine name> user. It's been my
understanding all along that it is the IUSR_<machine name>
running the web server process. Now I am lot. Can someone
explain it to me?

Thanks

feng



Nov 18 '05 #3

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

Similar topics

2
by: Daniel S. Horwitz | last post by:
I downloaded a security fix from Microsoft, using Windows update, on Wednesday night, 20-Aug-2003. The next time I tried to use IE to bring up a local web site, I got a "Server Application...
7
by: Tom | last post by:
Can anyone give me any advice on how to secure a folder on a network server so that documents in the folder can only be opened through an Access database or by the database admin. I need to store...
5
by: Andy | last post by:
This morning I was quite happily working away when a Windows Update prompted me for install. I found a convenient brake point and duly installed it and rebooted, oh dear what a mistake LOL! Any...
7
by: Lucas | last post by:
Hi, I have an ASP.Net application written with VS.Net 2002 (Net FWK 1.0). This Web Application uses Exception Management Application Block to log Events to Windows Event Log. We registered the...
0
by: Carl Gilbert | last post by:
Hi I am trying to get an online gallery to work (www.ngallery.org). I have managed to get it all working on my local host but I can not get it to work on my web space. The site can be found...
4
by: Greg P | last post by:
I know this is a long post, please bear with me. I have been working on this all weekend to no avail although I have done a good amount of research (see most pertinent links that I've looked at...
7
by: Greg P | last post by:
I know this is a long post, please bear with me. I have been working on this all weekend to no avail although I have done a good amount of research (see most pertinent links that I've looked at...
11
by: moondaddy | last post by:
I have a .net 2.0 smarclient app and am trying to deploy it to IIS where users can access it from. I created an application folder in IIS where I'm trying to deployee to. 1) When the...
17
by: Michael | last post by:
Hello, I am writing an app that will sit on the desktop. It needs to be able to make a copy of a folder that sits on the server. It will copy the folder from the server and place it in the same...
17
by: Jon B | last post by:
Hi All! I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to view this site on my local Windows XP machine, I get "Server Unavailable". If I switch the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.