Re: How to collect username from http header ?

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

 



On Wed, Jun 20, 2012 at 8:24 AM, J. Bakshi <joydeep@xxxxxxxxxxxxxxx> wrote:
> On Wed, 20 Jun 2012 17:44:04 +0530
> "J. Bakshi" <joydeep@xxxxxxxxxxxxxxx> wrote:
>
>> Dear list,
>>
>> I have a git setup where user can authenticate via https based on htpasswd authentication.
>> I need some more fine tuning ; hence I like to know the username for the specific connection.
>> Say user1 has authenticated successfully, and I like to compare his ACL based on another file.
>> How can I know the connection using username as user1 ?
>> Could anyone give me any clue how to do that ?
>>
>> Thanks
>
> IS it "RequestHeader set X-Auth-User"  ?
>
> If yes, then what module should I install ?
>
> Thanks
if they are authenticated via htpasswd via BasicAuth or similar, it
should be available to you as "REMOTE_USER" with no additional modules
installed.  Though accessing it will be different for different
languages.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-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