From | Stefan Boddie |
Date | Tue, 5 Mar 2002 14:43:57 +1300 |
Subject | Re: how to create authorised users for protected collections |
In-Reply-To | (3C81168B-FE3CC5E7-t-online-de) |
> Hi,
> in the users guide, chapter "user management" is written that it is > possible to protect collections for special users, authenticating with > "user" and "password". How i can combine a special user with a special > collection, and does this mechanism work also for an exported collection > on CD. > > Best regards A. Dobreff Hi, Unfortunately you've found a bit of a half-truth in the users guide. That
Having said that, if you're not afraid to get your hands dirty the following
In the parse_cgi_args() function of src/recpt/receptionist.cpp you could add
if (args["c"] == "mycol") {
By adding this and recompiling the code you should find that only users
This change will also work for collections exported to CD-ROM (as long as
I hope this helps. If you don't feel comfortable altering the code and
regards,
|