zoukankan      html  css  js  c++  java
  • Photon——Application Policy 策略应用

    Application - Policy 策略应用

     
         The Policy Application runs on Photon to send the crossdomain.xml. Web Player platforms like Unity Web Player, Flash and Silverlight request authorization before they contact a server.
         Policy应用运行在Photon上发送crossdomain.xml。Web Player平台请求授权之前他们连接的服务器。
     
         The actual file sent in response to a policy request is loaded from: deploy\Policy\Policy.Application\assets. There is a special file for Silverlight and one for Unity and Flash.
         这文件发送在一个policy请求的响应中。这有一个特殊的文件对于Silverlight and one for Unity and Flash
     

    Configuration 配置

     
         The default setup from the SDK will start the Policy Application. The assemblies, which are in the deploy\Policy folder, and the configuration to load are:
         SDK的默认设置是启动Policy应用的。这个程序集在deploy\Policy 文件夹中,配置如下:
     
    <Applications>
        <!-- [other Application nodes] -->
     
        <!-- Flash & Silverlight Policy Server -->
        < Application
            Name="Policy"
            BaseDirectory="Policy\Policy.Application"
            Assembly="Policy.Application"
            Type="Exitgames.Realtime.Policy.Application.Policy">
        </Application>
    </Applications>

    Ports 端口

     
         Policy requests are usually done behind the scenes on TCP Port 843 and 943 (Silverlight), so these two have to be open as well. This includes Windows Security settings, other Firewalls in software and hardware. If you host Photon in a Cloud, check the Security settings of that as well. Amazon’s EC2 has Security Groups to restrict access to ports.
        Policy 请求通常是在后台TCP端口843和 943(Silverlight),所以这两个端口必须也开启的。这包括 Windows安全设置,其他防火墙软件和硬件。如果你托管在一个Photon云,检查安全设置。亚马逊的EC2有安全组限制端口的访问。
  • 相关阅读:
    Mybatis学习总结(五)——动态sql
    1006 换个格式输出整数(15分)
    1005 继续(3n+1)猜想(25分) *
    1004 成绩排名(20分)
    1003 我要通过!(20分)*
    1002 写出这个数(20分) *
    1001 害死人不偿命的(3n+1)猜想(15分)
    CCSP 201312-2 ISBN号码
    CCSP201312-1出现次数最多的数
    c++动态定义数组
  • 原文地址:https://www.cnblogs.com/liusuqi/p/3079731.html
Copyright © 2011-2022 走看看