Jeśli jesteś właścicielem tej strony, możesz wyłączyć reklamę poniżej zmieniając pakiet na PRO lub VIP w panelu naszego hostingu już od 4zł!
Strony WWWSerwery VPSDomenyHostingDarmowy Hosting CBA.pl

Techie Talks Blog: Building Secured Web Applications Using PHP – The Basics

Techie Talks Blog: Building Secured Web Applications Using PHP – The Basics

On the Techie Talks blog today there’s a post from Idrish Laxmidhar with a few simple reminders of things you can do to help with the basic security of your PHP applications, mostly surrounding filtering and escaping.

The list includes some of the basics like:

  • Avoiding $_REQUEST when possible because of the ambiguity of where the information could come from
  • Keep register_globals off (thankfully a default!)
  • Checking values for specific data types before using them
  • Filtering user input
  • Disabling the error output (turning down the reporting levels) on a production environment

For some more good recommendations on good security practices in PHP applications, check out this list or some of the recommendations from the PHP manual itself.

Source: http://www.phpdeveloper.org/news/16517

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Posted Czerwiec 25th, 2011 in WEB and PHP Development.

Leave a response: