 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Zend Developer Zone: Security Tips #17 & #18 (When to Secure & File Uploads)
by Chris Cornutt March 28, 2007 @ 17:19:49
The Zend Developer Zone continues their great series of security tips with two new posts - one talking about when to focus on security and the other about file uploads.
From the first, top 17:
Application security should not be a "when all else fails" situation. It's not something you can "put in later". As we've mentioned before, there is no single silver bullet to solve your application security issues. Security is something that should be rolling around in the back of your dead in the design phase, the coding phase, the testing phase, even after you've rolled your code into production.
And, from tip #18:
When you allow users to upload files, your system may be at risk. Always restrict the file types that you allow. Don't rely on a blacklist approach. [...] Be careful with file uploads and make sure you protect them with a whitelist policy instead. Make sure that the file that has been uploaded is of the type that you want to allow.
voice your opinion now!
securitytip consider security integrate file upload whitelist securitytip consider security integrate file upload whitelist
Zend Developer Zone: PHP Security Tip #16 (Keep Frameworks Up-to-Date)
by Chris Cornutt March 26, 2007 @ 12:49:00
The Zend Developer Zone has their latest security tip posted for all of you eagerly awaiting more words of wisdom. This time, it's on a topic near and dear to Zend's heart - keeping your framework up to date.
Make sure any framework you are using is updated regularly. This is especially important if you are working on a 'one-shot' client project. It is important to think about who is going to maintain the site if (or rather: when) a security patch is issued for any of the 3rd party files.
Using frameworks is generally a good idea '" not only because they take a lot of the work away from you, but also because any potential security issue will (usually) quickly be dealt with.
Cal also talks about the other side of the coin - that the openness a framework can have can allow for would-be attackers to find the holes and issues in your site much easier.
voice your opinion now!
securitytip framework recent update securitytip framework recent update
Zend Developer Zone: PHP Security Tip #15 (Remove Temporary Files)
by Chris Cornutt 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.
voice your opinion now!
temporary files remove securitytip diagnostic temporary files remove securitytip diagnostic
Zend Developer Zone: Security Tips #10, #11, and #12
by Chris Cornutt March 19, 2007 @ 11:24:00
The Zend Developer Zone has posted three new helpful security tips to add to their growing list - one on mailing, one about working with privileges, and the other on the dangers of eval:
- In tip #10, Cal looks briefly at some of the dangers of blindly using form input when sending a mail. One never knows what kind of nasty headers a user might enter.
- Tip #11 recommends the "path of least privileges" when it comes to allowing access to your application. Don't go global when simple will do just fine - even with the best of intentions, the wrong access can lead to big issues.
- Finally, in tip #12, one of the more discouraged functions in PHP is discussed - eval. This one little function, when fed the wrong kind of string, can unravel your application from the inside out and provide a would-be attacker just the opening they might need.
You can check out more great security tips like these on the Zend Developer Zone website.
voice your opinion now!
securitytip eval mail form filter input privilges securitytip eval mail form filter input privilges
|
Community Events
Don't see your event here? Let us know!
|