-2

セキュリティ警告なしで Web ページから画像をキャプチャする必要があります。

ここに画像の説明を入力

ウェブカメラ機能が必要なページを https プロトコルに切り替えることができません。ルート証明書をインストールし、信頼できるようにしました。iframe (安全なプロトコルhttps://mysecurepage.comを指す) をページ ( http://mypage.com ) 内に挿入しようとしましたが、機能しませんでした。

4

2 に答える 2

1

As defined in http://www.w3.org/TR/mediacapture-streams/

When the getUserMedia() method is called, the user agent MUST run the following
steps:

[9 steps omitted] 

Prompt the user in a user agent specific manner for permission to provide the
entry script's origin with a MediaStream object representing a media stream.

[...]

If the user grants permission to use local recording devices, user agents are
encouraged to include a prominent indicator that the devices are "hot" (i.e. an
"on-air" or "recording" indicator).

If the user denies permission, jump to the step labeled failure below. If the
user never responds, this algorithm stalls on this step.

If a browser does not behave as described here it is a serious security problem. If you find a way of making a browser skip the "permission" you have found a security problem.

What do you do if you find a security problem?

Report it IMMEDIATELY! Wikipedia: Vulnerability Disclosure

This is not just a question of technical possibilities, it's also a question of professional ethics: what kind of job would I not take on? should I be loyal to my customer or should I think of the welfare of the public? when do I just follow orders, when do I stop bad stuff from happening, when do I blow the whistle?

Here are some starting points for computing professionals to think about the ethics of their work:

于 2013-05-20T05:47:17.513 に答える