Reply to Newbie - how best to create a password-protected page

Your name:

Reply:


Posted by Philip Herlihy on 07/17/05 19:26

I haven't even started learning PHP yet (although I've skimmed a book!). I
want to add a small number of password-protected pages to a website
developed by someone else. I'd be really grateful if any experienced user
could let me know (in outline) what would be the best approach.

My guess is that it isn't enough to have everything in a page, and set it to
die if the password is wrong, as you could view the source and get the info
that way.

I thought I'd ask the ISP involved if there are "private" folders available
and have a script store both the password and the sensitive info there,
accessing it if the password is matched.

Otherwise, I thought I'd create a trivial MySQL database and store things in
that. Will that be secure?

Am I on the right lines? Seems silly to reinvent the wheel!

--
####################
## PH, London
####################

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация