Main Article Content

Abstract

Internet plays an important role in our day-to-day life. Data security in web application has become very critical. XSS attack is considered to be one of the major attacks in web application. XSS enables attackers to inject client-side script  code into Web pages viewed by other users. A cross-site scripting (XSS) vulnerability may be used by attackers to bypass access controls such as the origin policy. To prevent this XSS attack we can enable data sanitization techniques. Data Sanitization is the process of disguising sensitive information and overwriting it with realistic looking but false data of a similar type. Some of the techniques are masking data, shuffling record, substitution and encryption/decryption. Masking data replaces certain fields with a mask character.

Article Details