This sort of thing is usually done by an upstream Apache or in the servlet engine (Tomcat) configuration.
If you really want to do it in Cocoon, you can write an action checking the BA header and use it in the sitemap to either deliver the resource or the auth-required (403) response. HTH, Alfred. -----Original Message----- From: Peter Flynn [mailto:[EMAIL PROTECTED] Sent: Montag, 16. Juni 2003 22:40 To: [EMAIL PROTECTED] Subject: Basic authentication I have failed to find anything in the docs about implementing crude Apache-style authentication (eg equivalent to .htaccess). We don't have any global auth framework yet, so the more sophisticated methods won't be applicable. The user requirement is simply to restrict some directories to user/psw pairs "like we did before" :-) Can someone point me at what I must have missed? I guess I could fake it up (although I don't know how to call crypt() from within an XSLT script) but I felt there is probably a better way... ///Peter --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]