为什么-use-network = false [英] Why -use-network=false

查看:119
本文介绍了为什么-use-network = false的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



这是在Project Properties中设置的是额外的编译器参数。



只有当我想读取像XML这样的外部文件的时候才可以。

其他人在我的团队不必有-use-network = false ????????????????????????????????????????????????????????????????????????????????????????团队不必使用-use-network = false,那么他们可能会建立全局信任权限。出于良好的安全原因,您无法通常使用Flash文件访问本地文件。当你正在开发,但你需要能够在本地访问文件。要做到这一点,你有两个选择:
$ b $ ol

  • -use-network = false取消信任,但是在部署时必须将其还原;
  • 设置全局权限,以便在您的开发文件夹中,这些规则不适用:查看这篇文章的详细信息


  • Dose anyone knows why I have to use -use-network=false in my Flex Builder?!?!?!

    This is set inside the Project Properties and is Additional compiler argument.

    This is only when I want to read in a external file like XML.

    Others in my team doesn't have to have -use-network=false ????

    解决方案

    If other members of your team don't have to use -use-network=false then they probably have global trust permisions set up. You can't access local files with a Flash file ordinarily, for good security reasons. When you're developing though you need to be able to access files locally. To do that, you have two options:

    1. -use-network=false inverts the trust, but on deploying you have to revert it back;
    2. set global permissions so that within your dev folder, these rules don't apply: see this post for details

    这篇关于为什么-use-network = false的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆