You may think of a ways how hackers have the privilege of hacking you website.
Yes hacker have the that privilege when your defense for your website is not strong.
In other to protect your website follow the below ways:
- Keep software update
When website security holes are found in software,hackers are quick to attempt to abuse
them.if you are using a managed hosting solution then you don't need to worry so much about applying security updates for the operating system as the hosting company should take care of this.
If you are using third party software on you website such as CMS or FORUM, you should ensure you are uick to apply any security patches.Most vendors have a mailing list
or RSS feed detailing any website security issues.WordPress,Umbra co and many other CMS notify you of available system updates when you log in.
- SQL injection
your database.When you use standard Transact SQL it is easy to unknowingly insert rogue code into your query that could be used to change tables,get information and delete data.You can easily prevent this by always using paramerised queries
most web languages have this feature and it is easy to implement.Consider this query:
/ESELECT * FROM table WHERE column="/parameter\ESELECT';\
If an attacker changed the URL parameter to pass in ' or '1'='1 this will cause the query to look like this:
/ESELECT * FROM table WHERE column =' OR '1'='1';\ since '1' is equal to '1' this will allow the attacker to add an additional query to the end of the SQL statement which will also be executed.
- XSS
When creating a form always ensure you check the data being submitted and encode or strip out any HTML.
- Server side validation/form validation/form
These can however be bypassed, and you should make sure you check for these validation and deeper validation server side as failing to do so could lead to malicious code or scripting cod ebeing inserted into database or could cause undesirable results in your website.
- PASSWORD
- FILE UPLOAD
DON'T FORGET TO COMMENT
No comments:
Post a Comment