Re: using mod auth_mysql with apache for authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 9, 2011 at 4:42 AM, Rajeev Prasad <rp.neuli@xxxxxxxxx> wrote:
> Hello,
>
> currently i have  mod auth_mysql configured and running as plaintext
> password:
>
> Apache/2.2.16 (Ubuntu)
> MySQL client version: 5.1.49
>
> 1. how can i generate crypt_des passwords to store in database?
> 2. how can i get a user log out once the browser tab is  closed. seems i
> have to close the browser and reopen, then only i am presented login box.
> 3. what password options are available for AuthMySQL_Encryption_Types to use
> under ubuntu?
>
> thanks a lot.
>
> Rajeev

I can only answer 2)

When you authenticate with basic auth, you do not 'log in' or 'log
out', authentication is performed on every single request. Browsers
cache basic auth credentials and resubmit them on every request, until
the server responds with a 401 response (authentication required), at
which point the browser will prompt for new credentials.

There is no way (server side) to provide basic auth 'logout'.

Cheers

Tom

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux