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

Re: [cobalt-security] Password protected websites



Just place in the directory wich you'll protect a file with name .htaccess.

After uploading (or writing that file) it will not be visible "normaly"
On shellaccess user ls -A to see files beginning with a dot.

To allow specific users:
----------------------------
order allow,deny
allow from all
require user <username> [<username>]
Authname CobaltRaQ
Authtype Basic
----------------------------

To allow specific usergroups
----------------------------
order allow,deny
allow from all
require group <groupname> [<groupname>]
Authname CobaltRaQ
Authtype Basic
----------------------------

Greets Sven

Frank Cubillos schrieb:

> Must say I am in the same boat. Newbie question so be kind. Can anyone
> please point me on how to use .htaccess ? <ducks under desk>
> Thanks
>
> Frank
> ----- Original Message -----
> From: "ChaosIndustries" <chaosindustries@xxxxxx>
> To: <cobalt-security@xxxxxxxxxxxxxxx>
> Sent: Friday, June 02, 2000 3:14 PM
> Subject: Re: [cobalt-security] Password protected websites
>
> > An easy alternative is using .htaccess
> >
> > Greets Sven
> >
> > Mike Schieuer schrieb:
> >
> > > Quick question for someone out there.  I'm still not completely used to
> the
> > > Cobalt way of doing things and their directory structures are starting
> to
> > > make some sense.  Here is my situation.  I am currently hosting 5 sites
> on
> > > my RAQ 3.  The 6th site is a site we use for internal distribution of
> > > information.  Before I move it to my RAQ3 I want to make sure that when
> the
> > > site is pulled up either inside or outside the building users are
> prompted
> > > for username and password.  Now with a straight linux box I would go
> into
> > > /etc/httpd/conf/access.conf add my lines restart httpd and be done.  My
> > > question is with multiple sites how do I make sure I only secure that
> 6th
> > > site and not the other 5?
> > >
> > > Best regards
> > > Mike
> > >
> > > _______________________________________________
> > > cobalt-security mailing list
> > > cobalt-security@xxxxxxxxxxxxxxx
> > > http://list.cobalt.com/mailman/listinfo/cobalt-security
> >
> >
> > _______________________________________________
> > cobalt-security mailing list
> > cobalt-security@xxxxxxxxxxxxxxx
> > http://list.cobalt.com/mailman/listinfo/cobalt-security
> >
>
> _______________________________________________
> cobalt-security mailing list
> cobalt-security@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-security