DevPinoy.org
A Filipino Developers Community

>>> First two to make 3 wins! <<<

Preventing PHP Leakage

rated by 0 users
This post has 1 Reply | 0 Followers

Top 25 Contributor
Posts 232
Points 3,130
bonskijr Posted: 08-13-2007 4:49 AM

Facebook's source code was recently served to the user which caused most of it's users worry about security.

Not a PHP dev, but was interested on how the source was served to the users, I remembered couple of years ago I was surprised that a major Philippine newspaper's site served me not only the homepage's code but also the MySql connectionstring(yes user and password and db) hardcoded on that page(php) itself. I emailed the admin and the following day it was ok.

 FYI
 

Bonski's Box

Top 10 Contributor
Posts 1,967
Points 39,325

bonskijr:

Facebook's source code was recently served to the user which caused most of it's users worry about security.

Not a PHP dev, but was interested on how the source was served to the users, I remembered couple of years ago I was surprised that a major Philippine newspaper's site served me not only the homepage's code but also the MySql connectionstring(yes user and password and db) hardcoded on that page(php) itself. I emailed the admin and the following day it was ok.

 FYI
 

I remember doing the same thing in 2004. NBA.com was down and for some reason the connection string to the database server was exposed on the error screen. eeeek not a good practice!

devpinoy sig

  • | Post Points: 5
Page 1 of 1 (2 items) | RSS

Copyright DevPinoy 2005-2008