Camen Design Forum

Password protection

Kroc

Yes. I can't find an example unfortunately, but it revolves around setting an environment variable when a querystring is matched, and then later checking for the presence of the variable and invoking the password protection.

However, you should actually consider rejigging your navigation or design so that anything that does have to be password protected goes into a specific folder. You may be making more work for yourself than is necessary by trying to tie password protection to querystrings, esp considering the limitations of basic HTTP auth (use a HTML login form perhaps, far more compatible with a querystring)

Append

(Leave this as-is, it’s a trap!)

Only the original author or a moderator can append to this post.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: Kroc, Impressed, Martijn