Htaccess to block connection each time

This is a discussion on Htaccess to block connection each time within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, I want to secure on directory of my site so I am using an htaccess file. When I connect ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2007
FdeCourt
 
Posts: n/a
Default Htaccess to block connection each time

Hi,

I want to secure on directory of my site so I am using an htaccess
file.
When I connect to this part of the website, it ask me the login and
password, but, if I close the browser, and try again, I can go without
restriction. Is there any way to ask for the password each time the
browser session is reopen.
How does this solution works ? If on person behind the proxy is
connected, does an other person, behind the same proxy will have to
enter the login/password too (I will have only one username, used by
several users) ?

After this htaccess restriction I also have a more standard
login/password connection per users, but to aviod the maximum of risks,
I also need a one username/password restriction before the second one.

Thanks for your help

  #2 (permalink)  
Old 01-17-2007
shimmyshack
 
Posts: n/a
Default Re: Htaccess to block connection each time


FdeCourt wrote:
> Hi,
>
> I want to secure on directory of my site so I am using an htaccess
> file.
> When I connect to this part of the website, it ask me the login and
> password, but, if I close the browser, and try again, I can go without
> restriction. Is there any way to ask for the password each time the
> browser session is reopen.
> How does this solution works ? If on person behind the proxy is
> connected, does an other person, behind the same proxy will have to
> enter the login/password too (I will have only one username, used by
> several users) ?
>
> After this htaccess restriction I also have a more standard
> login/password connection per users, but to aviod the maximum of risks,
> I also need a one username/password restriction before the second one.
>
> Thanks for your help


what kind of .htaccess authentication are you using?
are you sure you are actually closing the browser, try using a
different browser to authenticate - does it let you in.

if you are using firefox or another tabbed browser you have to close to
entire browser, and dont forget to close all of the sub windows like
"downloads" "addons" and others, if you use the minimise to tray (if on
windows) are you certain the process is actually gone.

after all if it asks you once, it should ask you each time since the
server has to be told each time by the browser,
my guess is that the browser wasnt completely closed.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:08 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0