ZeroNet - free opensource uncensored distributed web site hosting network
+ Post New Thread
Results 1 to 3 of 3

Thread: How to prevent SQL injection attacks?

  1. #1
    Junior Member Bamril's Avatar
    Join Date
    Nov 2019
    Posts
    13

    How to prevent SQL injection attacks?

    Any ideas guys? Vids I found on the web are really shallow

  2. #2
    Junior Member Dushafur's Avatar
    Join Date
    May 2020
    Posts
    5
    Hi Bamril!
    Sanitize all your data inputs, not just those specifically required for your SQL query/Database. I may be mistaken but the leading cause of website leaks is currently XXS (Cross site Scripting) the concept is similar to SQL injection and sometimes even more dangerous. On top of sanitizing, you can also use prepared statements instead of just inserting values into the query. Have a look at the article about that in the PT Security blog. This phenomenon is much better explained there

  3. #3
    Junior Member Roden's Avatar
    Join Date
    Jan 2020
    Posts
    7
    Quote Originally Posted by Dushafur View Post
    Hi Bamril!
    Sanitize all your data inputs, not just those specifically required for your SQL query/Database. I may be mistaken but the leading cause of website leaks is currently XXS (Cross site Scripting) the concept is similar to SQL injection and sometimes even more dangerous. On top of sanitizing, you can also use prepared statements instead of just inserting values into the query. But I would recommend you to ask these experts for help https://www.digitalforensics.com/ Because online attacks are becoming more and more complex to handle them on your own.
    I guess that these means make sense. Also I would recommend to be careful with HTTPS protocol.
    Last edited by Roden; 02-18-2021 at 07:46 PM.

+ Post New Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
 Protected by : ZB BLOCK  &  StopForumSpam