Thanks Ken,
it pops up the logon dialog box when I try 127.0.0.1, but how about the
domain? How to set the domain? Even I don't type anything in domain, it is
still able to go to the page? Also, what do you mean "c) change the NTFS
permissions to give your user account access." I just added the user in
Anonymous User Account window in IIS console.
Please advise. Thanks!
"Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
news:#JnBdYaAEHA.2600@TK2MSFTNGP09.phx.gbl...[color=blue]
> You need to:
>
> a) uncheck the "Allow Anonymous Access" box
> b) check the "Basic" and/or "integrated Windows Authentication" box
> c) change the NTFS permissions to give your user account access
> d) If you are using Internet Explorer -and- Integrated Windows
> Authentication, then
http://localhost is in the Intranet zone, and IE will
> automatically logon for you (so you wont' see the logon dialogue box).
> Instead, try
http://127.0.0.1 which IE will think is in the Internet zone
>
> Cheers
> Ken
>
>
> "Matt" <mattloude@hotmail.com> wrote in message
> news:%23ojEe9ZAEHA.688@tk2msftngp13.phx.gbl...
> : I want to add security in ASP application.
> : When the user go to
http://localhost/myproject/index.asp, I want it will
> pop
> : up an username/password authentication dialog box.
> :
> : Here's the steps I did, but still not working.
> : 1. In computer management, add an user "admin" that should have[/color]
permission[color=blue]
> : to the page
> : 2. In IIS console, right click the file index.asp, and click properties
>
> : File Security > Edit, and click Edit button under Anonymous access, and
> add
> : user "admin" in Anonymous User Account window.
> : 3. Uncheck Anonymous access check box
> : 4. Click OK button
> :
> : Then it should provide security access to index.asp only, but not other
> : files. But still not working either way. Please advise!
> :
> :
> : Thanks,
> : Matt
> :
> :
> :
> :
> :
> :
>
>[/color]