1. DoS attacks?
你正在打击自己的DoS攻击,如果它们正确完成,你几乎无法对付这种攻击.
2. XSS attacks?
如果不进行过滤,则易受XSS攻击.我相信你可以使用这样的东西保护自己免受这种情况:
/**
* Escape the given string of `html`.
*
* @param {String} html
* @return {String}
* @api private
*/
function escape(html){
return String(html)
.replace(/&(?!\w+;)/g, '&')
.replace(/</g, '<')
.replace(/>/g, '>')
.replace(/"/g, '"');
}
Run Code Online (Sandbox Code Playgroud)
Run Code Online (Sandbox Code Playgroud)3. Additional security holes that could be used to gain access to the webserver/webserver's LAN?
您应该使用防火墙保护自己免受局域网攻击?
4. Anything else I didn't mention here?
归档时间: |
|
查看次数: |
3087 次 |
最近记录: |