Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Senior Coder
    Join Date
    Dec 2002
    Location
    Arlington, Texas USA
    Posts
    1,065
    Thanks
    4
    Thanked 8 Times in 8 Posts

    prompt for username password

    ok dumb question time. How do I set it so that the prompt for username/password combination pops up? I am used to having a page with a form asking for the username and password and having users login to a restricted area that way.

    I thought it was done with the .htaccess and .htpasswd files but that doesnt seem to be working.

  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    .htaccess is an Apache thing not an IIS thing.

    Which one are you using?

    If you are using IIS you need to setup security on the folder in order to do what you want.
    OracleGuy

  • #3
    Senior Coder
    Join Date
    Dec 2002
    Location
    Arlington, Texas USA
    Posts
    1,065
    Thanks
    4
    Thanked 8 Times in 8 Posts
    this is on a web that was migrated from a unix server to a Win2K IIS one

    I thought this was an apache only item, but I have seen sites running on Win2K IIS that have the prompt. I assume this is done via permissions set in win2k?

  • #4
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Yeah it is. It is based of the directory security permissions in IIS and off of the security setup on the actual folder and files. (Like when you go to the properties of either on the 'Security' tab).

    So you can setup a sub-folder on your website and restrict it to certain users or groups on the domain.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •