473,503 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Minimum Permissions Required to Run ASP.NET

I have a web server running IIS 6. The network security team here has
completely locked down the server. They have installed an application
called Cisco Security Agent (CSA). What CSA does is deny or allow
access to certain files and folders. Currently they have it set up
very restrictively so that it denies access to lots of files and
folders. I find that when I go to run any type of ASP.NET application
I receive error messages that say that the Network Service user can not
access a certain folder. So I contact the network security team and
tell them to give Network Service rights to that folder. Then I try my
application again. This time I get a message about a different folder.
So we go through the process again and they give the Network Service
user access to that folder - and so on. What I am looking for is
something like this:

For ASP.NET to function properly you must set the following folder and
file permissions:
C:\Windows\inetsrv Network Service Full
rights
C:\Windows\Microsoft\Framework Network Service Read
etc...

And so on...

Basically I am looking for a list of folders, files and users with
their corresponding rights that must be in place for ASP.NET to
function properly. This is an ASP.NET v1.1 application running on IIS
6. I am assuming that this makes a difference because I believe that
IIS 6 has different requirements than IIS 5. Can anyone help point me
to a list of folder permissions that are necessary just to run ASP.NET
on IIS 6?

Thanks,
Corey

Nov 14 '06 #1
3 4850
Corey,

For ASP.NET 1.1 :

http://msdn.microsoft.com/library/de...secnetht01.asp

Skip over the initial stuff and go directly to "Table 1. Required NTFS permissions".

You may as well save the same info for ASP.NET 2.0 :

http://msdn2.microsoft.com/en-us/library/kwzs111e.aspx

It will come in handy at some point, I'm sure.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Corey B" <co***********@gmail.comwrote in message
news:11**********************@f16g2000cwb.googlegr oups.com...
>I have a web server running IIS 6. The network security team here has
completely locked down the server. They have installed an application
called Cisco Security Agent (CSA). What CSA does is deny or allow
access to certain files and folders. Currently they have it set up
very restrictively so that it denies access to lots of files and
folders. I find that when I go to run any type of ASP.NET application
I receive error messages that say that the Network Service user can not
access a certain folder. So I contact the network security team and
tell them to give Network Service rights to that folder. Then I try my
application again. This time I get a message about a different folder.
So we go through the process again and they give the Network Service
user access to that folder - and so on. What I am looking for is
something like this:

For ASP.NET to function properly you must set the following folder and
file permissions:
C:\Windows\inetsrv Network Service Full
rights
C:\Windows\Microsoft\Framework Network Service Read
etc...

And so on...

Basically I am looking for a list of folders, files and users with
their corresponding rights that must be in place for ASP.NET to
function properly. This is an ASP.NET v1.1 application running on IIS
6. I am assuming that this makes a difference because I believe that
IIS 6 has different requirements than IIS 5. Can anyone help point me
to a list of folder permissions that are necessary just to run ASP.NET
on IIS 6?

Thanks,
Corey

Nov 14 '06 #2
Juan,

Ah! Thanks so much for pointing me in the right direction. One more
question.

So it seems that the permissions are dependent on the version of
ASP.NET and not the version of IIS - correct? In other words - it
doesn't make any difference if I am running my ASP.NET v1.1 application
on IIS 5 or IIS 6 - the list of required permissions is the same.

The main difference between ASP.NET v1.1 and v2.0 is that it will run
under a different user context.

Am I understanding this correctly?

Thanks,
Corey

Nov 14 '06 #3
re:
if I am running my ASP.NET v1.1 application
on IIS 5 or IIS 6 - the list of required permissions is the same.
Right.

re:
The main difference between ASP.NET v1.1 and v2.0 is that it will run
under a different user context.
True, as far as user context security goes.
There's tons of other operational differences, of course, but you know that. :-)

re:
Am I understanding this correctly?
You got that absolutely right.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Corey B" <co***********@gmail.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
Juan,

Ah! Thanks so much for pointing me in the right direction. One more
question.

So it seems that the permissions are dependent on the version of
ASP.NET and not the version of IIS - correct? In other words - it
doesn't make any difference if I am running my ASP.NET v1.1 application
on IIS 5 or IIS 6 - the list of required permissions is the same.

The main difference between ASP.NET v1.1 and v2.0 is that it will run
under a different user context.

Am I understanding this correctly?

Thanks,
Corey

Nov 14 '06 #4

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

Similar topics

16
2178
by: Lyle Fairfield | last post by:
There is an MS-SQL table named Bugs_Comments_and_Suggestions. There is a form named Bugs_Comments_and_Suggestions. To allow John Doe to use this form, we GRANT him LOGIN and ACCESS permissions...
12
16882
by: David Sworder | last post by:
Hi, I'm writing an application in which a client (C#/WinForms) and server (C#/service) interact with one another. The client establishes a "session" with the server but for scalability reasons...
3
1837
by: John | last post by:
Hi What is the minimum memory requirement for vb.net development in vs.net? Thanks Regards
3
1334
by: Stan | last post by:
ASP.NET site runs under Windows Authentication, Anonymous Access is unchecked. Page tries to create NET component (regular assembly, not ES) and fails with 'Access Denied' We don't want to give...
7
476
by: none | last post by:
Hello: I had a nice php application running on my server here at home, and I uploaded it to a shared public type server and it started to break all over the place. It turns out that some...
1
5622
by: James Beilby | last post by:
Hello people, It's been a long time since I've asked any techie questions on Usenet but I am under pressure to finish a project and the following issue has me stumped. I appreciate that it's a...
6
39912
by: Fred W. | last post by:
When my application starts I need to check folder permissions to ensure they have "Full Control" before I let them proceed on. How can I check this permission. Thank you, Fred
0
894
by: ansz5 | last post by:
which is the role with minimum permissions including a one to execute jobs.
13
2710
by: Ioannis Vranos | last post by:
Is there any mentioning in the standard of the number of bits of the various built in types, apart from char/signed char/unsigned char types? Or only about the minimum value ranges of them?
0
7063
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
7441
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5558
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4987
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4663
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3146
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1489
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
720
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
366
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.