Faking Basic Auth

Yes, to preset basic authentication you can do this as part of the url like so


http://user:password@www.yourserver.com/foo/bar

The user and password will be used for basic authentication. This is part of the http spec, so it is supported by all major browsers.

So you can email out links with the authentication in it and they should work as if they had authenticated manually. You can also use these as links bookmarks (of course they are not securely stored since anyone can click on them to use).

Blessings,

Jeff