最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Security issue with exposing TURN server credentials in WebRTC - Stack Overflow

programmeradmin0浏览0评论

We are using google public stun server in one of our application in the test environment. And, we are also installed Turn server.

The issue is - When we run the app, in the javascript file, we have put username, password and server address of turn server in order to make connection.

But, it shows the credentials in the javascript debugger which is a security issue. Is anybody have a solution how we restrict showing credentials from the javascript file ?

We are using google public stun server in one of our application in the test environment. And, we are also installed Turn server.

The issue is - When we run the app, in the javascript file, we have put username, password and server address of turn server in order to make connection.

But, it shows the credentials in the javascript debugger which is a security issue. Is anybody have a solution how we restrict showing credentials from the javascript file ?

Share Improve this question edited May 8, 2015 at 14:17 deceze 523k88 gold badges799 silver badges941 bronze badges asked May 7, 2015 at 18:57 Bhupinder SinghBhupinder Singh 2842 silver badges15 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 9

The TURN password is always exposed to Javascript. See https://datatracker.ietf/doc/html/draft-uberti-behave-turn-rest-00 for the most monly employed workaround.

发布评论

评论列表(0)

  1. 暂无评论