Results 1 to 4 of 4

Thread: Authentication

  1. #1
    Frenzied Member SomethinCool's Avatar
    Join Date
    Jan 01
    Location
    Malvern, PA
    Posts
    1,412

    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" />

  2. #2
    Frenzied Member
    Join Date
    Mar 04
    Location
    Orlando, FL
    Posts
    1,529

    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.

  3. #3
    Frenzied Member SomethinCool's Avatar
    Join Date
    Jan 01
    Location
    Malvern, PA
    Posts
    1,412

    Re: Authentication

    Can you shut off anonymous access to a virtual directory on IIS on Windows 2000 Server?

  4. #4
    Frenzied Member
    Join Date
    Mar 04
    Location
    Orlando, FL
    Posts
    1,529

    Re: Authentication

    Quote 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
  •