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

[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