Ok I am just wondering how hard would this be to do.
Here's what I am looking to do. I set up a webpage for a friend who has an online resume. You go to www.example.com and it would go right to her page.
Obviously anyone could see the resume. What I wanted to do was assign a single password to the page www.example.com lands at. It would be the same password given to everyone. No need to create users or passwords. Then that user woud enter the password and be able to view any of the pages on that site.
I thought about doing it with javascript cookie. The cookie could check against the password entered and give a session cookie. Each page in the resume would check that the session cookie was valid, if so then let that person view that page on the website.
Now of course the drawback is the password is on the source code with javascript.
I was told to use PHP, but I am unfamiliar with PHP, the only time I've used it was to email a form someone fills out to me.
I was going to go check out some books on PHP but would what I am looking to do be very complicated? So before I start looking around how hard would this be to do from scratch.
I don't want to spend weeks working on something that I would need to take a regular course on. I have enough trouble getting my cookies to work right)
Thanks
Bookmarks