Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 03-25-2004, 12:35 PM   #1
LQ Newbie
Registered: Mar 2004
Location: Spokane, Washington
Posts: 2

Rep: Reputation: 0
Directory password protection


I am on a mission, and I hope you can help. I have a web server that is running FreeBSD, Apache, PHP, and MySQL, and I am looking for software or script that will allow me to create passwords to protect each directory on the server. I need to have the ability to create static and dynamic passwords. The static will be used by users internally, and the dynamic to keep external users out.

Any suggestion would be much appreciated.
Old 03-25-2004, 12:44 PM   #2
Registered: Sep 2003
Location: Iowa
Distribution: Slackware 9.1
Posts: 155

Rep: Reputation: 30
check out the .htaccess files. You can put one of these with the passwords (a command adds a password to the file, cant remmber what it is though). Every time someone tries to enter that directory it checks the username and password they enter against the .htaccess file to see if they are authorized. Check out apache documentation for more details......I did it once but it has been a long time. Hope this helps
Old 03-25-2004, 02:04 PM   #3
LQ Newbie
Registered: Mar 2004
Location: Spokane, Washington
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you for your response Gates1026,

but it is not what I am looking for.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Password Protection In CGI amit_28oct Programming 8 06-24-2004 02:22 AM
apache password protection demicheru Linux - Software 2 02-25-2003 05:13 PM
password protection kushal Linux - Security 4 10-10-2002 09:33 PM
Password Protection TheSockMonster Linux - Newbie 1 05-27-2002 11:10 AM
IP & Password Protection karunesh Linux - Security 4 04-10-2002 02:57 PM

All times are GMT -5. The time now is 04:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration