akka/akka-http

Review potential cross-site security issue wrt Websocket

Open

#275 创建于 2016年9月12日

在 GitHub 查看
 (7 评论) (0 反应) (0 负责人)Scala (598 fork)batch import
1 - triagedhelp wantedt:websocket

仓库指标

Star
 (1,311 star)
PR 合并指标
 (平均合并 1天 10小时) (30 天内合并 2 个 PR)

描述

Issue by jrudolph Thursday Sep 24, 2015 at 09:05 GMT Originally opened as https://github.com/akka/akka/issues/18549


@fommil reminded me that browsers may not be strict enough in preventing cross-site scripting to prevent malicious sites from opening up websocket connections on the behalf of the browser user.

We need to check in which situations this can lead to problems and how to prevent insecure access (e.g. by changing the server-side Websocket API to force the developer to provide an Origin checker to accept incoming Websocket requests).

贡献者指南