LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-28-2009, 03:54 AM   #1
Davno
Member
 
Registered: Mar 2004
Location: Montreal, Canada
Distribution: Mandriva 2010.2
Posts: 148

Rep: Reputation: 24
Time limited password for apache web site directory


Hi,
Is there a way to (time limit password) a directory on a Apache website.
I would like to give like 1 or 2 hours access to specific directories.
 
Old 12-28-2009, 08:23 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,923

Rep: Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327
You can use a cronjob that runs every 1-2 hours to change htpasswd, so users cannot login if they don't know the new password.
If this is not what you want, you might take a look at Apache::AuthCookie perl module.
Note that there are packages for the major distros, so you can resolve any dependencies problems you may have.

Regards
 
  


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
apache web site pinguim66 Ubuntu 13 08-19-2006 11:40 PM
web site directory security? .htaccess or httpd.conf Moonman Linux - Software 0 03-03-2006 08:51 PM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 12:03 PM
IE password not saved for web site - NTLM/Squid?? percheron Linux - Networking 0 12-07-2003 11:16 AM
Apache Web site updating? munzza Linux - Newbie 1 05-17-2002 02:51 PM


All times are GMT -5. The time now is 01:07 PM.

Main Menu
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