ABSTRACT

This chapter emphasizes on some of the general mechanisms that can be adopted to alleviate the XSS attack to a large extent. We are focused on discussing the XSS prevention rules that can be adopted at the developer’s side to prevent the XSS attack. Nevertheless, it is obvious to say that these methods are not magic; these are ineffective without the user’s awareness. Hence, additionally, we present a brief discussion on the general practices to keep our browser secure. In the next section, we discuss the XSS prevention rules.