News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
PHP Security Tip #15 (Remove Temporary Files)
March 23, 2007 @ 09:20:00

The Zend Developer Zone has posted security tip #15 today, focusing on an easily forgotten aspect of web development (not just in PHP) - forgetting to remove temporary files.

As developers, most of us are very messy. I've worked on countless projects and at each either run across or left a trail of diagnostic files laying around. (info.php, test.php, doMe.php, etc.) These tiles, if found by someone with nefarious intent, can leak valuable information about your system.

Always remember to remove these types of files...as Cal puts it:

It would be a shame to spend all that time securing your application only to leave info.php or worse yet, a "quick piece of code" in test.php that could potentially leak dangerous information about your system. Don't help the ad guys any more than you have to.
0 comments voice your opinion now!
temporary files remove securitytip diagnostic temporary files remove securitytip diagnostic


blog comments powered by Disqus

Similar Posts

Jaanus\' Blog: How to retrieve remote files in your web apps and still be friends with the server

DZone.com: How to remove getters and setters

Zend Developer Zone: Security Tips #17 & #18 (When to Secure & File Uploads)

Pierre-Alain Joye's Blog: How to generate backtraces on windows without compiler

Havard Eide's Blog: SplObjectStorage


Community Events





Don't see your event here?
Let us know!


series api zendserver community language install symfony podcast package introduction deployment update laravel list interview release framework library tips opinion

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework