|
-
May 12th, 2006, 09:55 AM
#1
Thread Starter
Frenzied Member
Authentication
I was wondering how you could authenticate users by Active Directory. I don't want a login page, but in the web.config file I would like to use the <authentication> and <identity> tags.
I have it set to:
<authentication mode="Windows" />
<identity impersonate="true" userName="myUserName" password="myPassword" />
-
May 12th, 2006, 01:22 PM
#2
Frenzied Member
Re: Authentication
I'm no expert at this, but how I've gotten it to work is...
HTML Code:
<authentication mode="Windows"/>
<authorization>
<allow users="*"/> <!-- Allow all users -->
</authorization>
Then make sure the Web Server is included in your Intranet and shut off Anonymous Access in IIS.
Sean
Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.
-
May 12th, 2006, 01:36 PM
#3
Thread Starter
Frenzied Member
Re: Authentication
Can you shut off anonymous access to a virtual directory on IIS on Windows 2000 Server?
-
May 12th, 2006, 01:55 PM
#4
Frenzied Member
Re: Authentication
 Originally Posted by SomethinCool
Can you shut off anonymous access to a virtual directory on IIS on Windows 2000 Server?
Again I am seriously no expert, have just monkeyed around until I got it to work right, but in IIS 6.0 I right click on the Virtual Directory, select properties, and then under Directory Security, I click on Edit in the Authentication and Access Control box, and then the first check box should be to enable/disable anonymous access to the directory.
Sean
Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|