离线时更改 Flash 安全性

发布于 2024-09-26 18:48:49 字数 219 浏览 0 评论 0原文

我有需要在 CD 上的网页中运行的 Flash 内容。如果我更改 Flash 全局安全设置屏幕中的安全设置,则效果很好,但只能在线访问。那么...

  1. 可以通过本地驱动器上的跨域 XML 以某种方式克服安全违规吗?
  2. 在没有互联网连接的情况下是否可以显示全局安全设置屏幕?
  3. 可以在不使用全局安全设置屏幕的情况下更改安全设置吗?

非常感谢

I've got Flash content that needs to run within a web page off a CD. It works fine if I change the security settings in the Flash Global Security settings screen but that can only be accessed online. So...

  1. Can the security violation be overcome with a cross-domain XML on the local drive somehow?
  2. Can the Global Security settings screen be displayed without an internet connection?
  3. Can the security settings be changed without using the Global Security settings screen

Many thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

当梦初醒 2024-10-03 18:48:50

是的,您需要在以下位置创建一个后缀为 .cfg 的文本文件:

%appdata%\Macromedia\Flash Player\#Security\FlashPlayerTrust

在每个新行上,添加 .swf 文件所在的文件夹,因此 myTrustFile.cfg 的内容 可能是:

d:\flashContent

这将提高内容的本地信任度。在非 Windows 机器上,可能值得在网络上搜索术语 flashplayertrust。有很多现有技术。

Yes, you need create a text file with suffix .cfg at the following location:

%appdata%\Macromedia\Flash Player\#Security\FlashPlayerTrust

on each new line, add the folder in which the .swf file lives, so the contents of myTrustFile.cfg might be:

d:\flashContent

This will give the content elevated local trust. On non-windows boxes, it may be worth doing a web search for the term flashplayertrust. There's plenty of prior art.

两仪 2024-10-03 18:48:50

花费者打败了我:P

但我还要补充一点,如果要在许多 Windows PC 上分发此文件,您可以在 CD 本身上添加一个批处理文件,该文件会自动将此新条目写入信任文件(在一个简单的情况下)双击该文件:D)。

不过,我对批处理语法还不够熟悉,无法编写一个示例!只是一些可能值得在线搜索的东西。

spender beat me to it :P

But I would also add if this is to be distributed across many Windows PCs, you can add a Batch file on the CD itself that would auto-write this new entry to the trust-file (on a simple double-click of the file :D).

I'm not nearly familiar enough with Batch syntax to whip-up an example though! Just something that might be worth searching for online.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文