473,795 Members | 2,865 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IUSR and IWAM Permissions

Our server administrators recently changed the permissions of most of our
servers (you know how it is, the developers had, shock horror, got to know
the domain administrator password, and some decision was made on high to
clamp down on everything)

This consequently has had the effect of rendering our live ASP.NET 2 web
server useless with page requests for .NET sites returning ACL permission
errors.

I ran a few tools and found out that it seems to be the permissions of IUSR
and IWAN. As far as I can tell, they have the correct permissions (we are
running IIS 5 on Windows 2000 Server), but placing these users (temporarily)
inside the administrators group restores access. Obviously I can't leave
them in this group.

I'm 99% this has come about because of the permissions clamp down as we have
a development server that is experiencing identical behaviour. Is it
possible that the use of the Active Directory Manager from the domain
controller has screwed something up to cause this?
We also run Report Server on these servers and this had proved to be a bit
of a headache in the past, so it wouldn't surprise me if this had
contributed either.

Can anyone (hopefully there is an MVP about) give me any pointers as to what
I can do to restore the IWAM and IUSR permissions to their correct settings?

Thanks in advance

--
Simon Watkins
Mar 15 '07 #1
3 5315
The most likely reason, if it is all directories, is the network admin turned
off anonymous access on the sites in IIS. If so, tell him to turn them back
on, unless your sites are using Windows Authentication only (ie, these are
Intranet applications that serve based on users domain credentials). As you
are getting errors on IUSR and IWAM, you probably have forms auth, which
locks things down.

He could have also whacked the IUSR and IWAM accounts by removing from
groups or resetting policy. If so, you really need the network admin to pull
his head out. Worst case is reinstalling IIS and then spanking an admin. :-)
I would not think someobody would do this, but security changes are often
knee jerk reactions, so this is not impossible.

The other option is to check the ACLs (Access Control lists) on the web
folders (where your virtual directories are pointed to). Most likely he
increased access security on the web folders, or worse, on the entire drive
(which would cascade down). I would put it back on his plate, as he was the
one who did it, but say to him, "did you clamp down on the ACLs on web
directories?" He will either think you have gotten smarter (rare in most
network admins, who think developers are stupid, but worth a shot). :-)

There may be some IWAM and IUSR perms that were whacked even beyond this,
but this is the norm.

If I think of something else, I will post.

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

*************** ************
Think Outside the Box!
*************** ************
"Simon Watkins" wrote:
Our server administrators recently changed the permissions of most of our
servers (you know how it is, the developers had, shock horror, got to know
the domain administrator password, and some decision was made on high to
clamp down on everything)

This consequently has had the effect of rendering our live ASP.NET 2 web
server useless with page requests for .NET sites returning ACL permission
errors.

I ran a few tools and found out that it seems to be the permissions of IUSR
and IWAN. As far as I can tell, they have the correct permissions (we are
running IIS 5 on Windows 2000 Server), but placing these users (temporarily)
inside the administrators group restores access. Obviously I can't leave
them in this group.

I'm 99% this has come about because of the permissions clamp down as we have
a development server that is experiencing identical behaviour. Is it
possible that the use of the Active Directory Manager from the domain
controller has screwed something up to cause this?
We also run Report Server on these servers and this had proved to be a bit
of a headache in the past, so it wouldn't surprise me if this had
contributed either.

Can anyone (hopefully there is an MVP about) give me any pointers as to what
I can do to restore the IWAM and IUSR permissions to their correct settings?

Thanks in advance

--
Simon Watkins
Mar 15 '07 #2
Cowboy,

Thanks for reply, any further information you have would be greatly
appreciated as we are banging our heads against a brick wall at the moment.

"Cowboy (Gregory A. Beamer) - MVP" <No************ @comcast.netNoS pamMwrote
in message news:94******** *************** ***********@mic rosoft.com...
The most likely reason, if it is all directories, is the network admin
turned
off anonymous access on the sites in IIS. If so, tell him to turn them
back
on, unless your sites are using Windows Authentication only (ie, these are
Intranet applications that serve based on users domain credentials). As
you
are getting errors on IUSR and IWAM, you probably have forms auth, which
locks things down.

He could have also whacked the IUSR and IWAM accounts by removing from
groups or resetting policy. If so, you really need the network admin to
pull
his head out. Worst case is reinstalling IIS and then spanking an admin.
:-)
I would not think someobody would do this, but security changes are often
knee jerk reactions, so this is not impossible.

The other option is to check the ACLs (Access Control lists) on the web
folders (where your virtual directories are pointed to). Most likely he
increased access security on the web folders, or worse, on the entire
drive
(which would cascade down). I would put it back on his plate, as he was
the
one who did it, but say to him, "did you clamp down on the ACLs on web
directories?" He will either think you have gotten smarter (rare in most
network admins, who think developers are stupid, but worth a shot). :-)

There may be some IWAM and IUSR perms that were whacked even beyond this,
but this is the norm.

If I think of something else, I will post.

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

*************** ************
Think Outside the Box!
*************** ************
"Simon Watkins" wrote:
Our server administrators recently changed the permissions of most of
our
servers (you know how it is, the developers had, shock horror, got to
know
the domain administrator password, and some decision was made on high to
clamp down on everything)

This consequently has had the effect of rendering our live ASP.NET 2 web
server useless with page requests for .NET sites returning ACL
permission
errors.

I ran a few tools and found out that it seems to be the permissions of
IUSR
and IWAN. As far as I can tell, they have the correct permissions (we
are
running IIS 5 on Windows 2000 Server), but placing these users
(temporarily)
inside the administrators group restores access. Obviously I can't leave
them in this group.

I'm 99% this has come about because of the permissions clamp down as we
have
a development server that is experiencing identical behaviour. Is it
possible that the use of the Active Directory Manager from the domain
controller has screwed something up to cause this?
We also run Report Server on these servers and this had proved to be a
bit
of a headache in the past, so it wouldn't surprise me if this had
contributed either.

Can anyone (hopefully there is an MVP about) give me any pointers as to
what
I can do to restore the IWAM and IUSR permissions to their correct
settings?

Thanks in advance

--
Simon Watkins


Mar 16 '07 #3

"Cowboy (Gregory A. Beamer) - MVP" <No************ @comcast.netNoS pamMwrote
in message news:94******** *************** ***********@mic rosoft.com...
The most likely reason, if it is all directories, is the network admin
turned
off anonymous access on the sites in IIS. If so, tell him to turn them
back
on, unless your sites are using Windows Authentication only (ie, these are
Intranet applications that serve based on users domain credentials). As
you
are getting errors on IUSR and IWAM, you probably have forms auth, which
locks things down.

He could have also whacked the IUSR and IWAM accounts by removing from
groups or resetting policy. If so, you really need the network admin to
pull
his head out. Worst case is reinstalling IIS and then spanking an admin.
:-)
I would not think someobody would do this, but security changes are often
knee jerk reactions, so this is not impossible.

The other option is to check the ACLs (Access Control lists) on the web
folders (where your virtual directories are pointed to). Most likely he
increased access security on the web folders, or worse, on the entire
drive
(which would cascade down). I would put it back on his plate, as he was
the
one who did it, but say to him, "did you clamp down on the ACLs on web
directories?" He will either think you have gotten smarter (rare in most
network admins, who think developers are stupid, but worth a shot). :-)

There may be some IWAM and IUSR perms that were whacked even beyond this,
but this is the norm.

If I think of something else, I will post.

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

Thank you for getting back to me.

As far as the IIS stuff goes, we administer that ourselves and all the
sites, except one, are set to anonymous access under IUSR_machine_na me.
Being web servers, these have always been pretty much our department's
servers and we have a lot of autonomy in running them, at least as far as
the web and IIS is concerned. The problem is that they have to fit in the
greater organisation and ultimate control still lies with the domain admins.
Last week they were no longer to tolerate that many people were
administering the organisation's servers with passwords discovered by word
of mouth and that's when the big clamp down started. For our servers, most
of the developers remain listed as admininistrator s, but an awful lot of
settings have been changed (users consolidated into groups, etc; the sort of
thing that would have probably be seen as sensible anyway). Just like you
alluded to, I am suspicious that somebody has made a change to one of the
..NET or IIS specific accounts somewhere along the line, and this has
cascaded down with the aforementioned result.
Of course, getting anyone to admit to this, is going to be impossible, as is
getting these people to lose any sleep over the problems of one web server,
or spend any time trying to fix it.

Suffice to say, I believe I have managed to fix the problem for most of the
sites by using filemon (sysinternals)- and for anyone else who goes down
this route in future, you need to give the LOCAL SERVICE and NETWORK SERVICE
read and execute access to the .net Framework version 2xx directory (just
called SERVICE and NETWORK in IIS 5).
I'm not very happy about it, since I can't be sure that something untoward
will not happen in the future.

Unfortunately this hasn't managed to fix SQL CE application for PDAs (we
make use of sscesa20.dll)
Again, it still only seems to work if IWAM and IUSR are in the
administrators group.

The application event log is throwing up the following COM+ errors for each
hit...

-------------------
COM+ Services was unable to initialize due to a failure in the system API
shown below. This is often caused by a shortage of system resources on the
local machine.

CryptAcquireCon text

Process Name: dllhost.exe

The serious nature of this error has caused the process to terminate.

Error Code = 0x80090017 : Provider type not defined.

COM+ Services Internals Information:

File: .\security.cpp, Line: 643
---------------------

and ...

---------------------
The run-time environment has detected an inconsistency in its internal
state. Please contact Microsoft Product Support Services to report this
error. *** Error in __FILE__(926): Application image dump failed.
--------------------

Again, it still only seems to work if IWAM and IUSR are in the
administrators group. There is no "Acces Denied" entry in filemon, but
regmon captures the following ACCESS DENIED ocurrences for each hit

3.75126624 svchost.exe:484 OpenKey HKLM\Software\M icrosoft\Window s
NT\CurrentVersi on\ProfileList ACCESS DENIED Access: 0x20019
SERVERNAME\IWAM _SERVERNAME
3.75139499 svchost.exe:484 OpenKey HKLM\Software\M icrosoft\Window s
NT\CurrentVersi on\ProfileList ACCESS DENIED Access: 0x20019
SERVERNAME\IWAM _SERVERNAME
3.75170779 svchost.exe:484 OpenKey
HKLM\System\Cur rentControlSet\ Control\Session Manager\Environ ment ACCESS
DENIED Access: 0x1 SERVERNAME\IWAM _SERVERNAME
3.75210238 svchost.exe:484 OpenKey HKLM\Software\M icrosoft\Window s
NT\CurrentVersi on\ProfileList ACCESS DENIED Access: 0x20019
SERVERNAME\IWAM _SERVERNAME
3.75222063 svchost.exe:484 OpenKey HKLM\Software\M icrosoft\Window s
NT\CurrentVersi on\ProfileList ACCESS DENIED Access: 0x20019
SERVERNAME\IWAM _SERVERNAME
3.75247455 svchost.exe:484 OpenKey
HKLM\Software\M icrosoft\Window s\CurrentVersio n ACCESS DENIED Access: 0x20019
SERVERNAME\IWAM _SERVERNAME
3.75575757 DLLHOST.EXE:138 4 OpenKey
HKLM\System\Cur rentControlSet\ Control\Session Manager ACCESS DENIED Access:
0x1 SERVERNAME\IWAM _SERVERNAME
3.75593042 DLLHOST.EXE:138 4 OpenKey HKLM\SOFTWARE\M icrosoft\Window s
NT\CurrentVersi on\Winlogon ACCESS DENIED Access: 0x20019
SERVERNAME\IWAM _SERVERNAME
3.75694871 DLLHOST.EXE:138 4 OpenKey HKLM\Software\M icrosoft\Window s
NT\CurrentVersi on\Windows ACCESS DENIED Access: 0x20019
SERVERNAME\IWAM _SERVERNAME
3.75745630 DLLHOST.EXE:138 4 OpenKey
HKLM\System\Cur rentControlSet\ Control\Session Manager ACCESS DENIED Access:
0x1 SERVERNAME\IWAM _SERVERNAME
3.75759840 DLLHOST.EXE:138 4 OpenKey HKLM\SOFTWARE\M icrosoft\OLE ACCESS
DENIED Access: 0x20019 SERVERNAME\IWAM _SERVERNAME
3.75769639 DLLHOST.EXE:138 4 OpenKey HKLM\SOFTWARE\M icrosoft\OLE ACCESS
DENIED Access: 0x20019 SERVERNAME\IWAM _SERVERNAME
3.75792313 DLLHOST.EXE:138 4 CreateKey
HKLM\SOFTWARE\M icrosoft\Crypto graphy\RNG ACCESS DENIED Access: 0x1
SERVERNAME\IWAM _SERVERNAME
3.75809455 DLLHOST.EXE:138 4 CreateKey HKLM\SOFTWARE\M icrosoft\Crypto graphy
ACCESS DENIED Access: 0x2000000 SERVERNAME\IWAM _SERVERNAME
3.75818276 DLLHOST.EXE:138 4 CreateKey HKLM\SOFTWARE\M icrosoft\Crypto graphy
ACCESS DENIED Access: 0x1 SERVERNAME\IWAM _SERVERNAME
3.75857568 DLLHOST.EXE:138 4 OpenKey
HKLM\SYSTEM\Cur rentControlSet\ Control\Session Manager ACCESS DENIED Access:
0x20019 SERVERNAME\IWAM _SERVERNAME
3.76413941 DLLHOST.EXE:138 4 OpenKey HKLM\Software\M icrosoft\Rpc ACCESS
DENIED Access: 0x20019 SERVERNAME\IWAM _SERVERNAME
3.77733541 DLLHOST.EXE:138 4 OpenKey HKLM\System\Set up ACCESS DENIED Access:
0x20019 SERVERNAME\IWAM _SERVERNAME
3.77782750 DLLHOST.EXE:138 4 OpenKey
HKLM\System\Cur rentControlSet\ Services\DnsCac he\Parameters ACCESS DENIED
Access: 0x1 SERVERNAME\IWAM _SERVERNAME
3.78018665 DLLHOST.EXE:138 4 OpenKey HKU\.Default ACCESS DENIED Access:
0x20019 SERVERNAME\IWAM _SERVERNAME
3.78030825 DLLHOST.EXE:138 4 OpenKey HKLM\Software\M icrosoft\Window s
NT\CurrentVersi on\winlogon ACCESS DENIED Access: 0x2000000
SERVERNAME\IWAM _SERVERNAME
3.78483319 DLLHOST.EXE:138 4 OpenKey HKU\.Default ACCESS DENIED Access:
0x20019 SERVERNAME\IWAM _SERVERNAME
3.78494167 DLLHOST.EXE:138 4 OpenKey
HKLM\SOFTWARE\M icrosoft\Crypto graphy\Defaults \Provider Types\Type 001 ACCESS
DENIED Access: 0x20019 SERVERNAME\IWAM _SERVERNAME

I'm not really sure what any of that means, or how to go about fixing it.

--
Simon
Mar 16 '07 #4

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

Similar topics

0
2675
by: Colin Steadman | last post by:
I'm trying to setup a small ASP app that our Accounts department can use to kick off database procedures through a browser. To do this I need the ASP page to kick off a preprepared .VBS script file. I've made some good progress on this, but have hit a brick wall and dont know where to go next. I have setup a basic HTML form which submits a request to an ASP page. The ASP page creates a WSCRIPT shell on the server and runs the...
1
1547
by: Hernán Castelo | last post by:
hi i need to connect to sql with different roles is there any way for do that without passing users or passwords in the connection string ??
0
2923
by: Helena Cai | last post by:
Hi, Due to the nature of our system, we need to dynamically import certificate files into windows certificates store and access the certificate store from ASP pages, these ASP pages call a VB dll component, which uses the CAPICOM component to manipulate windows certficate store. Because ASP is running under IWAM account, we got "Access is denied" error when trying to import the certificate files. We registered the VB components...
2
3480
by: AVB | last post by:
Is there any other way to write files to a directory than allowing the IUSR write access. We have a website that will be writing XML files and Label files to a directory outside of our website directory but I am hesitant to give the generic IUSR account write access to anything and wondered if we could asign a different account or if there was some sort of ASP script we could use. These files will be created based on a received XML string...
1
3015
by: Do | last post by:
Hi, I need to give my ASP.net application write access to on of my folders. In Windows 2000 IIS 5.0 it was IUSR, what group do I give access for Windows 2003 IIS 6.0? I see new ones like System, Network, Network Service, Interactive Guest, etc. Thanks, Do
2
1931
by: SKG | last post by:
Can any one explain me what is IUSR_ account in IIS. What is ASPNET user account. do these account work in conjunction.? Is ASPNET user account used in execution context of the request. Appreciate any pointers TIA
4
6620
by: Marja Ribbers-de Vroed | last post by:
The call CertOpenSystemStore(0, "MY") in a C++ COM DLL returns an "Access is denied" error when called from a classic ASP webapplication. Doesn't the IUSR and/or IWAM account by default have the proper authorisation to call CertOpenSystemStore() ? -- Marja
2
4209
by: Peter Larsson | last post by:
I´m not sure where to put this topic, as I dont know where the problem is. But I´ll give it a shoot. We have a WSUS server here. The WSUS site runs on ASP.NET v1.1 while the applications (Clientwebservice etc) run on v2.0 (except Selfupdate and Content folders). I have realised that inorder to get WSUS to work is to give the IWAM acc proper rights to the ASP.NET Temporary Files folder. Now my problem is that every day (night) this account...
0
3105
by: sureshkmsc | last post by:
I don't know. how to set the read/write permissions in database how to set the read/write permission.
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9519
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10213
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10163
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10000
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9040
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3722
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.