Use Digest or Basic Authentication.  Basically, you need to check the header to 
see if the user is authenticated, if not you need to send a 401 HTTP status 
code to ask for authentication.

See my ERRest presentations to have a couple of examples (they are in a REST 
context but must of the logic is the same).

> Hi,
> 
> I have a web site running under WebObjects. I need to password protect some 
> files but can't figure out how.
> These files are stored in a mysql database so there is no directory to use 
> something like .htaccess with.
> 
> Is there a way in WO to do this thanks.
> 
> Pat.
> 
> 
> Patrick Coleman
> [email protected]
> (301)-651-9573
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-deploy mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-deploy/probert%40macti.ca
> 
> This email sent to [email protected]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to