Flash:授权访问摄像头编程/后台? [英] Flash: Grant access to webcam programmatically / behind the scenes?
问题描述
$ b
鉴于这是一个自助服务终端应用程序,我们可以自己访问这些机器(或者至少可以访问这些机器的人),有没有一种方法可以预先给白名单加上种子,这样对话框就不会如果你运行一个本地应用程序(而不是Flash),可以读/写文件系统,那么你可以找到设置并更改它们。它们存储在 macromedia.com
域下的本地共享对象以及允许的应用程序域中。
确切的位置有所不同,但在我的机器上有一个例子:
C:\ Users \sam \AppData\Roaming\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys\#ungrounded.net\settings.sol
这是本教程的设置文件:
http://www.newgrounds.com/portal/view/326194
这里是一个SOL查看器:
(swf实际上是在undergrounded.net上托管的) http://www.buraks.com/asv/tools/sve.html
更多关于编辑SOL和软件的信息在这里:
http://en.wikipedia.org/wiki/Local_Shared_Object
We're building a kiosk app that will have a fairly wide deployment. The app is in Flash running in a browser and requires the use of the webcam. As it stands, each kiosk will show the usual Flash "do you want to allow the use of your camera/microphone" dialog, which I suppose a local admin could click through, choose "remember," etc.
Given that this is a kiosk app, where we have access to the machines themselves (or at least to people who do), is there a way to pre-seed the whitelist so the dialog does not appear?
If you run a local application (not Flash) that can read/write the file system, then you can find the settings and change them. They're stored in a local shared object under the macromedia.com
domain as well as the domain of the app to allow.
The exact location varies, but on my machine one example is here:
C:\Users\sam\AppData\Roaming\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys\#ungrounded.net\settings.sol
This is the settings file for a tutorial here:
http://www.newgrounds.com/portal/view/326194
(the swf is actually hosted on undergrounded.net).
Here's an SOL viewer:
http://www.buraks.com/asv/tools/sve.html
And more information on editing SOL and software here:
http://en.wikipedia.org/wiki/Local_Shared_Object
这篇关于Flash:授权访问摄像头编程/后台?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!