Password Protect for fun

Posted by WaZ on Stack Overflow See other posts from Stack Overflow or by WaZ
Published on 2010-03-30T15:01:23Z Indexed on 2010/03/30 15:03 UTC
Read the original article Hit count: 383

Filed under:
|

Hi there,

I am working on a blog for my friend. I want to gift him the blog on his birthday.

Just for some fun I want to restrict access to the blog. e.g.

The website.

www.myfriend.com opens with a splash screen. The screen has his picture and a question regarding him.

these questions can be. If you know me.... What is my nickname?

Whats my fav. sport?

etc etc

This restriction should not be based on the default user management offered by Wordpress> and should involve a simple answer to a question which is randomly generated from list of questions> once the visior gives a correct answer the page redirects to the blog>
please note even if the user types www.myfriend.com/blog they should be able to see it.

this restriction is not a restriction in true sense but just involves some user interaction.

Its just for fun but adds a bit of spice.

Much appreciated. Thanks.

© Stack Overflow or respective owner

Related posts about Wordpress

Related posts about php