apache htpasswd

Justin Bennett Justin.Bennett at dynabrade.com
Wed Aug 3 10:23:10 EDT 2005


ok, no problem. I'll do some access control on the scripting side of life.

Justin Bennett
Network Administrator
Dynabrade, Inc.
8989 Sheridan Dr.
Clarence, NY 14031
 



On 8/3/2005 10:04 AM, John Seth wrote:

> Unfortunately, no.  If you set an IP restriction on a directory, it 
> will apply to all users, not one.  The only way to do what you want is 
> to have their login be redirected to another subdirectory which has 
> that IP restriction and denies or allows them access.
>
>   - Tony Evans
>
>
>
> Justin Bennett wrote:
>
>> can I do that for multiple users though, say user ken can access from 
>> anywhere, user billy only from 192.168.x.x?
>>
>> Justin Bennett
>> Network Administrator
>> Dynabrade, Inc.
>> 8989 Sheridan Dr.
>> Clarence, NY 14031
>>
>>
>>
>>
>> On 8/3/2005 8:56 AM, Eric Benoit wrote:
>>
>>> you can also restrict access via IP in the conf files per directory
>>>
>>>
>>> Justin Bennett wrote:
>>>
>>>> I have a world accessible site like an intranet site with some 
>>>> company information on it. I have an htpassword scheme to control 
>>>> user access. For the most part it's not a problem, however we have 
>>>> certain groups within the company that use this system that have a 
>>>> generic username/password. I would like to restrict these users to 
>>>> only be able to access the site from inside the building.
>>>>
>>>> so If user = generic user and network = 192.168.x.0/255.255.255.0
>>>> then let them in
>>>>
>>>> other users login from any address
>>>>
>>>> Maybe this is possible with two password files?
>>>>
>>>> Thanks
>>>> Justin
>>>>
>>>
>>
>>
>>
>



More information about the nflug mailing list