dongque6377 2014-01-31 22:24
浏览 26
已采纳

用于Javascript和PHP的预制XSS预防库[关闭]

I have gone through many articles of SO and Googled a lot but could not find some good premade libraries to prevent XSS (Cross Side Scripting) with Javascript for Node.js and PHP for Apache. I have found a lot of codes to prevent but isn't there some good libraries already available just include and use it?

  • 写回答

2条回答 默认 最新

  • duanli9569 2014-01-31 22:41
    关注

    php-antixss

    htmLawed

    HTML Purifier

    xss_clean.php filter

    XSS Protect

    HTML XSS Filter

    You can check it out Mod Security (kinda Module)

    can be libraries, first go through their docs. But I would suggest you to use your own code for better prevention against such attacks.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料