New Way To Prevent XSS Attacks
问题 I have a website related to entertainment. So, I have thought to use a new method to prevent XSS Attack. I have created the following words list alert(, javascript, <script>,<script,vbscript,<layer>, <layer,scriptalert,HTTP-EQUIV,mocha:,<object>,<object, AllowScriptAccess,text/javascript,<link>, <link,<?php, <?import, I have thought that because my site is related to entertainment, So I do not expect from a normal user (other than malicious user) to use such kind of words in his comment. So,