Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I read this blog:

http://weblogs.asp.net/scottgu/archive/2006/07/12/Recipe_3A00_-Enabling-Windows-Authentication-within-an-Intranet-ASP.NET-Web-application.aspx

 

1. IIS6.0, windows server 2003, SP1

2. I setup my site. Disabled Anonymous access. Enabled Windows Intergrated Authentication.

3. I do not use impersonation

4. I have the webconfig exactly as that blog has it:

    <authentication mode="Windows" />
       <authorization>
           <deny users="?"/>
       </authorization>

5. I added ASPNET useraccount to the folder with "Read&Execute", "Read" and "List Folder Contents" permission.

 

When I bring up the site, I get a pop-up to login with userid/pwd But this is windows authentication, what am I missing??

Posted

I created a new group on that server. It uses Active Directory. I added myself, administrator and ASPNET to it. Went back to the folder, "security" tab and added the new user with Full Control and still get the login/pwd pop-up box.

 

Is the Active Directory causing this??

  • Administrators
Posted

Is the account you are logging on to your PC as part of the same domain as the web server hosting your application?

 

Is the web server part of the domain?

 

If so logging onto your pc as yourself should automatically authenticate you to the web server without prompting you for any credentials.

 

The only other thing I can think of is something is blocking the credentials between either yourself and the server or the server and a valid DC - are there any firewalls or proxys between yourself and the web server or between the web server and a DC?

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

I bring up the application from 2 places: from the webserver itself and from my PC.

 

I log in to the webserver as "administrator/<pwd>". I bring up the site and i get the pop-up. After I login to the pop-up, i get authenticated (I have a textbox showing the domain and username authenticated as part of my test).

I see <domainname>/Administrator.

 

 

Then I went to the IIS and expanded the website. On the right pane, i right clicked on one of the aspx files and chose "browse" and I got the same pop-up.

 

between the web server and a DC? what is a DC??

Posted

Yes...

 

I looked at the server and when I want to log in it's "xxx/Administrator".

For my laptop, I have the same "xxx/<mylogin>"

 

I think we only have one domain..this is not a huge office, only 6 of us here. I also looked under "micrsoft windows network and I only see one node (xxx).

 

I read more articles about Windows Authentication to make sure if i'm missing something but doesnt look like it..

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...