401.1 Error w/ Anonymous Access

From: Peter Beck (pbeck@inscapesolutions.com)
Date: 10/31/02


From: "Peter Beck" <pbeck@inscapesolutions.com>
Date: Thu, 31 Oct 2002 16:46:59 -0500


Hi -

I'm having a hard time getting Anonymous Access to work, and I'm wondering
if anyone can point out what I'm doing wrong.

This isn't mission-critical - I'm just working through setting the machine
up this way to make sure I understand how it is *supposed* to work.

- I'm using IIS5.0

- I've set up a local account on the machine (Win2000 Professional, machine
called MIS-1112), and called the account SiteUser.

- I've created a folder in the IIS "Default Web Site" called "SecurityTest",
and put a "hello world"-type page page inside the folder, called
default.htm.

- In the "Directory Security" tab of the "Properties" of the folder in the
"Default Web Site", I've disabled Integrated Windows Authentication, and
enabled "Anonymous access". Clicking on "Edit", I've set MIS-1112\SiteUser
as the Username. I'm allowing IIS to control the password as this is a
local account (although it doesn't seem to make adifference if I leave this
box un-clicked)

- In "Explorer" I've give SiteUser "Full Control" to the folder
"SecurityTest" and to the file "default.html"

- In the local machine's Local Security Policy I've allowed SiteUser to Log
On Locally

Having done all this, if I type "mis-1112/SecurityTest/default.html" I get
a 401.1 error. I am under the impression that if Anonymous Access is
allowed, IIS will treat the request as if it is coming from the user
"SiteUser", and treat the request with the permissions "SiteUser" has,
which should allow the file to be served.

Obviously I'm missing some piece of the puzzle, or some concept - can
anyone straigten me out about this?

Thanks -

Peter Beck



Relevant Pages

  • Re: Anonymous folder access
    ... Each user would need a local account on the system with the same credentials as their local machines for this to work properly. ... It's been this way even since the Windows 9x days with folder sharing. ... I have a folder that I would like to share and allow anonymous access to read and write to. ... If possible, I do not even want a username/password box to show up on the users screen, I would like for them to be able to access the share with the UNC name and have it open without ever asking them for a username. ...
    (microsoft.public.windows.server.security)
  • Re: vb netapi NT4 and W2K
    ... If you log on to a machine jusing your local account you are not ... and queries issued against the domain are not from an authenticated user. ... anonymous access is allowed, then you get the answer, as anonymous access ... permits non-authenticated users to retrieve information anyway. ...
    (microsoft.public.vb.winapi)
  • Re: IIS 6.0 promps for username and password
    ... I would like to achieve Anonymous access. ... webpages without having a local account on the webserver. ... "Miha Pihler" wrote in message ...
    (microsoft.public.inetserver.iis.security)