+ 3

How to block SQL injection on a site written in PHP?

Website security

13th Mar 2018, 11:10 PM
Mouhamadou Lamine Ly
Mouhamadou Lamine Ly - avatar
4 Réponses
+ 2
Write a function sanitizeUrl() that checks urls for malicious insertions with the help of htmlentities() Prepared statements are also effective: mysqli_prep() always cast get data to int for integers.
13th Mar 2018, 11:43 PM
RiadhTN
RiadhTN - avatar
+ 5
The use of Prepared statements and Santising user inputs
13th Mar 2018, 11:24 PM
Tarantino
Tarantino - avatar
+ 2
Thanks for the answers, I spent a lot of time doing a functional website with PHP and MySQL without much focus on the security aspect. I will consider your proposals. Thank you
14th Mar 2018, 7:39 AM
Mouhamadou Lamine Ly
Mouhamadou Lamine Ly - avatar
+ 1
MinatoOkazaki can u please hit me via WhatsApp +233246879744
17th Mar 2018, 10:57 PM
Emmanuel Suarez
Emmanuel Suarez - avatar