Prevent XSS attacks site-wide

后端 未结 4 950
情深已故
情深已故 2020-12-05 08:40

I\'m new to ColdFusion, so I\'m not sure if there\'s an easy way to do this. I\'ve been assigned to fix XSS vulnerabilities site-wide on this CF site. Unfortunately, there a

4条回答
  •  悲&欢浪女
    2020-12-05 09:43

    The ColdFusion 9 Livedocs describe a setting called "scriptProtect" which allows you to utilize coldfusion's protection. I've have not used it yet, so I'm not sure how effective it is.

    However, if you implement a third-party or your own method of handling it, you would most likely want to put it in the "onRequestStart" event of the application to allow it to handle the entire site when it comes to URL and FORM scope violations (because every request would execute that code).

提交回复
热议问题