Mon, 02 Feb 2004 11:50:28 -0100, Klaus Johannes Rusch
<KlausRusch@atmedia.netwrote:
>Geoff Cox wrote:
>
>Hello Geoff,
>
>I wonder if there is a way when using .htaccess /.htpasswd to restrict
>access to a web site folder for a limited time, eg 0.5 hr?
>
>not directly but if you can start programs automatically (cron or
>something similar) you could modify the entries in the .htpasswd file
>after 30 minutes, thereby forcing a reauthentication.
Claus,
The user would not be able to start the cron would they? Needs admin
permissions presumably?
I am really looking for a labour saving device! The user would access
the folder using a "demo" id and password which would be valid for 0.5
hour and then the user id and password would be changed (random
process for new values?) so that oops! it has just accurred to me
that this approach would allow the user to have multiple sessions. I
guess this is where you are back to cookies which I did not wish to
use?
Cheers
Geoff