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

Re: [cobalt-users] FrontPage and .htaccess of sub directory



I had the same problem last nite... here is how I fixed it.

Within FP, create a new web within your existing web. on that new web, go to
security, and add users that will have access to the protected area. Set it
so that only those users may browse the site. After you publish it, the
browser gets an authentication dialogue box when they try to access the
protected area (usernames ARE case sensitive in this method).

Sure, it can be a bear since you have to create actual FP "accounts" and
cant read the system accounts, but its a start. I was lucky and only needed
a single username/password for my protected area.

----- Original Message -----
From: "Admin" <admin@xxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Monday, January 14, 2002 10:02 AM
Subject: [cobalt-users] FrontPage and .htaccess of sub directory


> I'm trying to protect a subdir of a site published with FrontPage. Only
> users defined in the Site Management should have access. I know all users
> (even from other virtual sites) have access, but it's an easy way for my
> client to manage his members.
>
> First I tried to protect the main directory (/web) with .htaccess. That
> works for protection but disables the possibility to publish with
FrontPage
> since I have overwritten the original .htaccess of FP-extensions. (RaQ4,
> login is webmaster, but FrontPage uses 'nobody' to publish. 'nobody' is
not
> an allowed user and cannot be created in Site Management).
>
> Now I have the .htaccess in a subdir. I can publish with FrontPage but if
I
> want to access the subdir I cannot log in. A login is requested with the
> correct 'Authname'. Even my 'admin' has no access.
>
> I used following .htaccess:
>
> # Access file for site.com
> order allow,deny
> allow from all
> require valid-user
> Authname "Members Area"
> Authtype Basic
>
> This works for the maindir and also for the maindir of a user web. Should
> anything be changed for a subdir?
>
> Or is there another way to protect a subdir and still be able to publish
> with FrontPage?
>
> And is there a way to limit access to the users of a specific virtual
site?
>
> Building security through FrontPage is not an option. The security should
be
> on server level.
>
> Thank you for any replies,
>
> Luc
>
>
> ------------------------------------------------------------
> BOX Internet Services
> http://www.box.be - info@xxxxxx
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>