|
I know I must be being incredibly stupid, but say I'm Bob. How do I setup the server to require WSSE authentication in the first place ?
You state: "But this request didn't include any authentication information. The server responds with an HTTP 401 Unauthorized:"
How does Bob setup the server to request any authentication at all, rather than just serving files? Surely that requires an .htaccess as well?
And on this point, would it not be possible to use a similar scheme to add authentication at the CGI level, without any server involvement?
The credentials are passed to a CGI which is simply served in the standard way. If the password was wrong the CGI would print a message and exit, refusing to do anything. Obviously it doesn't protect all the other files in the directory, and it's open to attack via bugs in the CGI, but it may be useful in some circumstances.
|