 |
|
03-04-2006, 01:22 PM
|
|
#1
|
 |
|
Aspirant (Level 2)
Join Date: Feb 2006
Posts: 11
|
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?
|
|
Add to del.icio.us
Can you digg it?
|
|
|
03-04-2006, 05:47 PM
|
|
#2
|
 |
|
Der Underlayer
Join Date: Jun 2002
Location: At a desk, hooked up and ready to rock
Posts: 17,608
|
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.
|
|
Add to del.icio.us
Can you digg it?
|
|
|
03-04-2006, 06:16 PM
|
|
#3
|
 |
|
Aspirant (Level 2)
Join Date: Feb 2006
Posts: 11
|
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.
|
|
Add to del.icio.us
Can you digg it?
|
|
|
03-05-2006, 04:06 AM
|
|
#4
|
 |
|
Der Underlayer
Join Date: Jun 2002
Location: At a desk, hooked up and ready to rock
Posts: 17,608
|
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.
|
|
Add to del.icio.us
Can you digg it?
|
|
|
10-23-2006, 09:39 PM
|
|
#5
|
 |
|
Aspirant (Level 2)
Join Date: Feb 2006
Posts: 11
|
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. 
|
|
Add to del.icio.us
Can you digg it?
|
|
|
11-01-2006, 03:15 PM
|
|
#6
|
 |
|
Can't say much here
Join Date: May 2004
Posts: 2,924
|
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
|
|
Add to del.icio.us
Can you digg it?
|
|
|
06-02-2009, 11:25 AM
|
|
#7
|
 |
|
Novice (Level 1)
Join Date: Jun 2009
Posts: 1
|
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.
|
|
Add to del.icio.us
Can you digg it?
|
|
|
06-10-2009, 02:35 AM
|
|
#8
|
 |
|
Novice (Level 1)
Join Date: Jun 2009
Posts: 1
|
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.
|
|
Add to del.icio.us
Can you digg it?
|
|
|
KEEP TABS |
|
SPONSORS |
| |

|
| |
|
|
| |
|