Results 1 to 3 of 3

Thread: Password Protect a Directory on a Windows Server.

  1. #1
    Join Date
    Aug 2006

    Password Protect a Directory on a Windows Server.

    How do i manually password protect a directory on windows server? I've realised, that .htaccess doesn't work with windows servers.

    Is there an alternative?

    All help would be greatly appreciated.


  2. #2
    Join Date
    Feb 2003
    you don't. u grant/deny permissions to specific users or groups

  3. #3
    Join Date
    Mar 2007
    I'm having a similar sort of problem, however I am running Apache 2.0.59 as my webserver on Windows 2000.

    All information I've found on how to properly configure a .htaccess and .htpasswd set has assumed I was running under Linux. How would I have to set this up in order to make it work properly? The password required dialog box pops up, but it acts as though it cannot find the .htpasswd file.

    My current .htaccess looks like this:
    AuthName "Administration"
    AuthType Basic
    AuthUserFile C:/~WebsiteRoot/postcard/admin/.htpasswd
    Require valid-user

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Recent Articles