JavaScript Example: Function Returns

This link will only let you through if you know the password. (Hint: it's rutabaga.)

Rutabaga Society Web Page

Note that this scheme is not very secure, since the correct password is visible in the page source.