Go Back  HTML Forums - Free Webmaster Forums and Help Forums > SERVER ADMINISTRATION > Windows Administration
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 03-04-2006, 01:22 PM
  #1
ClintiePoo
Aspirant (Level 2)
 
Join Date: Feb 2006
Posts: 11
iTrader: (0)
ClintiePoo is an unknown quantity at this point
IIS 5.1 - HTTP 401.3 - Access denied

I'm trying to use IIS 5.1 to host my website from my local computer. I am running it on port 83. I keep getting this error:

HTTP 401.3 - Access denied by ACL on resource Internet Information Services

I'm not sure what I should do. I have it set up so that users can log on anonymously I think. Would someone help me, please?
ClintiePoo is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 03-04-2006, 05:47 PM
  #2
Horus_Kol
Der Underlayer
 
Join Date: Jun 2002
Location: At a desk, hooked up and ready to rock
Posts: 17,608
iTrader: (0)
Horus_Kol is a name known to allHorus_Kol is a name known to allHorus_Kol is a name known to allHorus_Kol is a name known to allHorus_Kol is a name known to allHorus_Kol is a name known to all
With IIS, you need to allow anonymous access to the website in IIS - this uses a specially built-in user account starting with "IUSR_".

The folder which contains the website pages also needs to be allowed to the IUSR_ account as well - this can be done by right clicking on the folder and selecting properties - then click on the Security tab and work from there.
If you have not got a security tab, then you are either using a FAT partition (in which case there is no need to do this, as there is no security issue), or you have XP and have "simple filesharing" activated. This can be switched off in the folder options settings.

Finally - any resources used by the webserver need to be allowed for the IUSR_ account - for example, PHP... just allow read and execute access to the installed folder.
__________________
Photo Gallery: Modus InOperandi
Articles on Programming and Development (PHP/HTML/CSS, C/C++, more): RandomTweak
Mystery Website
Horus_Kol is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 03-04-2006, 06:16 PM
  #3
ClintiePoo
Aspirant (Level 2)
 
Join Date: Feb 2006
Posts: 11
iTrader: (0)
ClintiePoo is an unknown quantity at this point
Quote:
Originally Posted by Horus_Kol
With IIS, you need to allow anonymous access to the website in IIS - this uses a specially built-in user account starting with "IUSR_".

The folder which contains the website pages also needs to be allowed to the IUSR_ account as well - this can be done by right clicking on the folder and selecting properties - then click on the Security tab and work from there.
If you have not got a security tab, then you are either using a FAT partition (in which case there is no need to do this, as there is no security issue), or you have XP and have "simple filesharing" activated. This can be switched off in the folder options settings.

Finally - any resources used by the webserver need to be allowed for the IUSR_ account - for example, PHP... just allow read and execute access to the installed folder.
]

My IIS is set up like that. Every folder, including the top level "Web Sites" have anonymous access allowed. The user is "IUSR_CLINT" (computer name is CLINT) and the password is automatically set by IIS. I'm not sure where to go from here. I turned off the firewall, but I don't think that is the problem. To me it looks like it should work but it doesn't.

Edit: I set it up to use a user name and password. Then, I set it back up as stated above. It works now, and I don't know why. Well, I'm not going to look a gift horse in the mouth. Thanks for the help.
ClintiePoo is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 03-05-2006, 04:06 AM
  #4
Horus_Kol
Der Underlayer
 
Join Date: Jun 2002
Location: At a desk, hooked up and ready to rock
Posts: 17,608
iTrader: (0)
Horus_Kol is a name known to allHorus_Kol is a name known to allHorus_Kol is a name known to allHorus_Kol is a name known to allHorus_Kol is a name known to allHorus_Kol is a name known to all
The problem is the security of the actual folder...

The setting in IIS is just to tell the server which user to behave as when someone requests information from the server.

However, if the folder that the IIS website or virtual directory is pointing does not allow access to the account used in the anonymous access setting in IIS, then you will get the 401 error.

You created a user account which is probably a member of a group which is allowed access to those folders, and so 401 is gone.
__________________
Photo Gallery: Modus InOperandi
Articles on Programming and Development (PHP/HTML/CSS, C/C++, more): RandomTweak
Mystery Website
Horus_Kol is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 10-23-2006, 09:39 PM
  #5
ClintiePoo
Aspirant (Level 2)
 
Join Date: Feb 2006
Posts: 11
iTrader: (0)
ClintiePoo is an unknown quantity at this point
Wow, that was a long time ago...

I got it working eventually, then my computer crashed the other day. I tried to set it up again and couldn't remember what I did. Your post helped the second time around. Thanks.
ClintiePoo is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 11-01-2006, 03:15 PM
  #6
afterburn
Can't say much here
 
Join Date: May 2004
Posts: 2,924
iTrader: (0)
afterburn will become famous soon enough
generally its best to place everyone read and list on the root of the website folder.
__________________
ASP.net nice bits
Code Smith rocking tool for Code Generation in any language (Written in .net)
Red Gate SQL tools for DBA
Blog Personal blog
.afterburn
afterburn is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 06-02-2009, 11:25 AM
  #7
victorbello
Novice (Level 1)
 
Join Date: Jun 2009
Posts: 1
iTrader: (0)
victorbello is an unknown quantity at this point
I found out what it was, at least on my end.

Wherever you hosted the php5isapi.dll file, you need to give READ rights to the IUSR account, that fixed it for me.

Hope this helps.
victorbello is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 06-10-2009, 02:35 AM
  #8
mannytabs
Novice (Level 1)
 
Join Date: Jun 2009
Posts: 1
iTrader: (0)
mannytabs is an unknown quantity at this point
I have gone through same problems when I wanted to save a file from our iis server.

It asked for a user name and a password, i tried the win xp users to no avail.

But when i put anonymous and blank password, it works... Hope this will help you.
mannytabs is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Reply
KEEP TABS
SPONSORS
 
Boxedart

 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 08:31 PM.

   

Mascot team created by Drawshop.com | Web Hosting

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.