Password protection on webpages

Posted on 2005-05-05
Last Modified: 2010-04-12
I have a Windows 2000 system where I want to password protect web documents. I have research the htaccess process and after trying that found that sometimes Windows 2000 does not recognize the . documents, so I followed the ht.acl process using a txt file to store the username and encrypted password.
ht.acl consists of and stored in the folder I wish to protect

AuthUserFile c:/FoxServ/Apache/bin/pass.txt
AuthName "title"
AuthType Basic

<Limit GET POST>
require valid-user
pass.txt consists of and stored in the c:/FoxServ/Apache/bin/ folder


On the local server if I open a browser it works. If I go to any other computer it does not.
Any suggestions???

Note: The encryption file was created using a Linux box and then ftp'd over to the appropriate folder, since the local computer htpasswd.exe didn't seem to recognize the commands (-c, -b, etc...) to create the file.

Note:  The httpd.conf was modified:

AllowOverride All

AccessFileName ht.acl .htaccess

This was added to the bottom of the httpd.conf file
<Directory "/Apache/www/securedfolder">
     AllowOverride All
     Options None
     ORder deny, allow

The directory paths throughout the httpd.conf file seem to be accurate.  And yes I have rebooted for every change. Still nothing??  Possibly another modification to another variable in the conf file???
Question by:JoE0526
    1 Comment
    LVL 2

    Accepted Solution

    Is it running IIS it appears from the scripts to be apache, if IIS change the allow annonymous access on the site poof your done.  well you will deny all non authenticated

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
    PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now