By adapting following methodology you’ll be able to stop your web site from obtaining hacked
Using Firewall : Firewall may be accustomed drop traffic from suspicious information processing address if attack may be an easy DOS
Encrypting the Cookies : Cookie or Session poisoning may be prevented by encrypting the content of the cookies, associating cookies with the consumer information processing address and temporal arrangement out the cookies once it slow
Validating and confirmative user input : This approach is prepared to stop the type tempering by confirmative and verifying the user input before processing it
Header Sanitizing and validation : This technique is beneficial against cross website scripting or XSS, this method includes verifying and sanitizing headers, parameters passed via the address, type parameters and hidden values to cut back XSS attacks.