Ask a Question related to Linux / Unix Administration, Design and Development.
-
Geoff Cox #1
Time restricted access to folder?
Hello
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?
Cheers
Geoff
Geoff Cox Guest
-
Restricted access
Yes, put the files outside of web root or protect them using .htaccess file. After authorization use readfile90 to serve the file. There are lots... -
Webservice with restricted ip access
I've consumed a webservices that will only accept connection from my servers IP address and a password. When I run the file locally on the server... -
how to time limit folder access?
Hello I would like to be able to time limit user access to a folder ... any ideas on how to do this? can .htaccess etc be used? Cheers Geoff -
Problem with web.config access-restricted subdirectory
Hi, I have a problem with web.config unsuccessfully controlling access to a subdirectory. I'm using VS03 and IIS5.0 on NT2K. I have been able... -
Unable to access Tools/Internet Optios in I.E. - Restricted
Am using XP-Pro with two accounts the first as an administrator and the second as a user (Both accounts having different names) While using I.E... -
Klaus Johannes Rusch #2
Re: Time restricted access to folder?
Geoff Cox wrote:
Hello Geoff,
not directly but if you can start programs automatically (cron or> 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?
something similar) you could modify the entries in the .htpasswd file
after 30 minutes, thereby forcing a reauthentication.
--
Klaus Johannes Rusch
[email]KlausRusch@atmedia.net[/email]
[url]http://www.atmedia.net/KlausRusch/[/url]
Klaus Johannes Rusch Guest
-
Geoff Cox #3
Re: Time restricted access to folder?
On Mon, 02 Feb 2004 12:28:34 -0800, "Michael Vilain
<vilain@spamcop.net>" wrote:
Michael>I'd create a totally separate directory with only what you want to have
>time-sensative access to. That means a separate .htaccess file with
>it's own password file. The at job would run htpasswd to reset the
>password to some random value or remove the user entirely from the
>password file.
this sounds useful - are you able to give me or point me at any
details on how to implement this?!
Geoff
Geoff Cox Guest
-
all mail refused #4
Re: Time restricted access to folder?
In article <vilain-4CCE51.11474903022004@comcast.ash.giganews.com>,
"Michael Vilain wrote:
Why not have the CGI directly show and refuse to show the content ->1) user fills in information into web form and clicks "Submit" button
>2) CGI script creates temporary directory which is accessible to
> web server (e.g. a Alias directive is in httpd.conf for it)
>3) script copies files (including .htaccess) into temporary directory
>4) script runs htpasswd to create user and password file referenced by
> .htaccess file
>4) script creates "at" job which will use htpasswd to change
> password for user after 30 minutes
thereby avoiding all the external commands ?
--
Elvis Notargiacomo [url]http://www.sendacow.org.uk/homepage.html[/url]
all mail refused Guest
-
Geoff Cox #5
Re: Time restricted access to folder?
On 3 Feb 2004 22:16:22 GMT, [email]elvis@notatla.org.uk[/email] (all mail refused)
wrote:
Elvis and Michael>In article <vilain-4CCE51.11474903022004@comcast.ash.giganews.com>,
>"Michael Vilain wrote:
>>>>1) user fills in information into web form and clicks "Submit" button
>>2) CGI script creates temporary directory which is accessible to
>> web server (e.g. a Alias directive is in httpd.conf for it)
>>3) script copies files (including .htaccess) into temporary directory
>>4) script runs htpasswd to create user and password file referenced by
>> .htaccess file
>>4) script creates "at" job which will use htpasswd to change
>> password for user after 30 minutes
>Why not have the CGI directly show and refuse to show the content -
>thereby avoiding all the external commands ?
thanks to you both - will investigate further...
Cheers
Geoff
Geoff Cox Guest



Reply With Quote

