Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP/MySQL security--where to begin?

Tags:

php

mysql

I'm a PHP/MySQL noob who knows nothing about online security.

Could you point me to some resources that will aid in my knowledge? (Beginner level, please!)

like image 273
Kevin Brown Avatar asked Aug 25 '09 01:08

Kevin Brown


People also ask

Is PHP good for security?

PHP is as secure as any other major language. PHP is as secure as any major server-side language. With the new PHP frameworks and tools introduced over the last few years, it is now easier than ever to manage top-notch security.

Which method is secure for securing data in PHP?

PHP is the world's most popular server-side web programming language. According to W3Techs data from April 2019, 79% of websites are powered by PHP.

Is PHP secure by default?

PHP is the most commonly used web application framework and the level of security it provides is often debated. However, what is factual is that it has no default security mechanism.


1 Answers

I'll suggest two things:

  1. Make sure Register_globals is off.
  2. Use prepared statements.
like image 175
karim79 Avatar answered Oct 24 '22 18:10

karim79