 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
PHPMaster.com: 8 Practices to Secure Your Web App
by Chris Cornutt February 04, 2013 @ 12:56:40
PHPMaster.com has posted a new article with some high level security tips and reminders for PHP developers when wanting to help prevent issues with their applications. The article provides eight tips, each with a brief description.
When it comes to application security, in addition to securing your hardware and platform, you also need to write your code securely. This article will explain how to keep your application secure and less vulnerable to hacking.
The good practices they recommend include input data validation, protecting against XSS attacks, preventing SQL injections, protecting session data, proper error handling and protecting included files. There's some good reminders here, but it barely scratches the surface of effectively protecting your application. These tips are the "low hanging fruit" for securing your app, so be aware that there's more things to worry about than just these eight.
voice your opinion now!
secure application tips xss csrf sqlinjection file session error include
Ulf Wendel: Not only SQL injection I don't trust you!
by Chris Cornutt September 26, 2012 @ 08:34:59
On his site today Ulf Wendel talks about SQL injection and some comments that came up during a recent webinar about common MySQL mistakes PHP developers make.
Never trust user input! Injection is a threat . You are the new web developer, aren't you?. Never trust user input is the first rule I had to learn as a web developer in anchient times. Injection can happen whenever user input is interpreted or used to compose new data. A quick recap of the #3 mistake from todays Top 10 MySQL Tips and Mistakes for PHP Developers web presentation. A webinar recording should be available in a couple of days.
He points out a few "don't" things to avoid - like directly injecting superglobal values into your query and to remember that not all SQL injections are because of escaping issues. The real key? Validating input - be sure you're putting values into your query that are of the correct type and contain what you expect.
voice your opinion now!
sqlinjection mysql webinar common mistake
Anson Cheung: Top 6 security attacks in PHP
by Chris Cornutt August 09, 2012 @ 17:03:55
Anson Cheung has posted about some security attacks (six of them) that you need to watch out for when developing your apps.
Be aware of the most common security threats to PHP applications is the important step to secure your PHP scripts may not be immune. Here, the article is going to go over top 6 common security threads in PHP scripts. You may familiar with this, if not, this is a good time for you to read and keep in mind.
The top six on his list are:
- SQL Injection
- Cross-Site Scripting (XSS)
- Session fixation
- Session capturing/hijacking
- Cross-Site Request Forgeries (CSRF)
- Code Injection
For each item, he includes a bit of explanation as to what the issue is and a common solution as to how to prevent it.
voice your opinion now!
security attack xss csrf session sqlinjection code
Developer Drive Blog: How to Prevent a SQL Injection Attack
by Chris Cornutt October 14, 2011 @ 09:25:12
From the Developer Drive blog there's a recent post with some suggestions on how you can help to prevent SQL injections in your PHP application and make it that much harder for would-be attackers to do what they shouldn't.
Why do SQL injections happen so often?
The shortest answer is that SQL injections are so popular because of poor programming. Hackers know about the potential of a successful SQL injection attack and they search for vulnerabilities. Unfortunately, very often they don't have to search hard - vulnerabilities pop right in their face. [...] The good news is that fortunately, SQL injections are also relatively easy to prevent.
They list nine easy things you can do to help prevent the attacks:
- Patch your SQL server regularly
- Limit the use of dynamic queries
- Escape user input
- Store database credentials in a separate file
- Use the principle of least privilege
- Turn magic quotes off
- Disable shells
- Disable any other DB functionality you don't need
- Test your code
voice your opinion now!
sqlinjection security sql prevent tips attack
Advanced PHP Tutorial: 7 Useful functions to tighten the security in PHP
by Chris Cornutt October 08, 2010 @ 12:28:38
On the Advanced PHP Tutorial site there's a recent post that suggests a few useful functions that can get you started on security and protecting your application from possible exploits. These aren't the only way to prevent these issues, but they're a start in the right direction.
Security is a very important aspect of programming. In PHP, there are few useful functions which is very handy for preventing your website from various attacks like SQL Injection Attack , XSS attack etc.Let's check few useful functions available in PHP to tighten the security in your project. But note that this is not a complete list, it just list of functions which I found useful for using in your project.
The functions include mysql_real_escape_string for database query handling, htmlentities to filter user input for HTML and two hashing functions to create hashes you can validate from - md5 and sha1.
voice your opinion now!
security function xss sqlinjection application
NETTUTS.com: Can You Hack Your Own Site? A Look at Some Essential Security Considerations
by Chris Cornutt July 22, 2008 @ 12:57:07
On the NETTUTS.com website, there's a great article with some "essential security considerations" that you can use to see just how hackable your site could be.
This article walks through the brainstorming stage of planning for what is in this instance, a hypothetical user-centric web application. Although you won't be left with a complete project '" nor a market ready framework, my hope is that each of you, when faced with future workloads, may muse on the better practices described. So, without further ado...Are you sitting comfortably?
The tutorial is broken up into a few sections based around an example with a few points of failure (about book information). They work through the thought process behind the code, using the $_REQUEST variables correctly, preventing SQL injections, filtering the HTML output and a sample code download for you to see how it's all tied together.
voice your opinion now!
security consideration hack tutorial sqlinjection filter output input
|
Community Events
Don't see your event here? Let us know!
|