How to protect your Website against hacking attacks?

0
An organization can adopt the following policy to protect itself against webserver attacks.

 



1. SQL Injectionsanitizing and validating user parameters before submitting them to the database for processing can help reduce the chances of been attacked via SQL Injection. Database engines such as MS SQL Server, MySQL, etc. support parameters and prepared statements. They are much safer than traditional SQL statements

 What is (SQLi) SQL Injection❓ - Types, Example and Prevention. Part 1




2. Denial of Service Attack - firewalls can be used to drop traffic from suspicious IP addresses if the attack is a simple DoS. Proper configuration of networks and Intrusion Detection Systems can also help reduce the chances of a DoS attack been successful. 

Why Distributed Denial of Service (DDoS) Attacks Have Become More Dangerous


3. Cross Site Scripting - validating and sanitizing headers, parameters passed via the URL, form parameters and hidden values can help reduce XSS attacks.

 Cross-Site Scripting — Web-based Application Security, Part 3 | Spanning

4. Cookie/Session Poisoningthis can be prevented by encrypting the contents of the cookies, timing out the cookies after some time, associating the cookies with the client IP address that was used to create them.

 The Ultimate Guide to Session Hijacking aka Cookie Hijacking - Security  Boulevard

5. Code Injection - this can be prevented by treating all parameters as data rather than executable code. Sanitization and Validation can be used to implement this.

Code-injection attacks. | Download Scientific Diagram

6. Defacementa good web application development security policy should ensure that it seals the commonly used vulnerabilities to access the webserver. This can be a proper configuration of the operating system, web server software, and best security practices when developing web applications.

Fix Website Defacement Attack - Complete Guide

Post a Comment

0Comments
Post a Comment (0)
To Top