Re: Newbie - how best to create a password-protected page
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: Newbie - how best to create a password-protected page

From: Geoff Berrow <blthecat@ckdog.co.uk>
Date: Sun Jul 17 2005 - 21:14:10 CEST

I noticed that Message-ID:
<dbe53e$g9h$1@nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com> from Philip Herlihy
contained the following:

>Well-written code is surprisingly easy to read even if you've not learnt the
>language yet!

Thank you :-)
>
>However, if someone right-clicked on the page and viewed the source,
>wouldn't they be able to decipher the passwords just as I can?

No. The php sections will be parsed by the server and the only output
will be html. It would not be possible to see the usernames and
passwords unless one had access to the server, and if you have that then
you have access to all the files anyway.

Try it and see.

-- 
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Received on Mon Oct 17 21:09:23 2005