LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices



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

Rep: Reputation: 0
Directory password protection


Hi,

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, 01:44 PM   #2
Gates1026
Member
 
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, 03:04 PM   #3
scootz6
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.
 
  


Reply


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 03:22 AM
apache password protection demicheru Linux - Software 2 02-25-2003 06:13 PM
password protection kushal Linux - Security 4 10-10-2002 10:33 PM
Password Protection TheSockMonster Linux - Newbie 1 05-27-2002 12:10 PM
IP & Password Protection karunesh Linux - Security 4 04-10-2002 03:57 PM


All times are GMT -5. The time now is 08:07 AM.

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