- Home /
Webplayer sandbox security policy: When do I prefetch security policy?
The documentation states:
A Unity webplayer needs a socket served policy in order to connect to a particular host. This policy is by default hosted by the target host on port 843 but it can be hosted on other ports as well. The functional difference with a non-default port is that it must be manually fetched with Security.PrefetchSocketPolicy() API call and if it is hosted on a port higher than 1024 the policy can only give access to other ports higher than 1024.
The question: how do I prefetch the socket policy? Do I do it in the void Update () {...}
?
Your answer
Follow this Question
Related Questions
How do I identify the offending method for "attempt to access a private/protected method failed"? 2 Answers
TCPClient on webplayer crashes. 1 Answer
is there a way to secure the .unity3d web player file from downloading? 1 Answer
Webplayer ActiveX 3 Answers
How do I protect my webplayer from beeing used from other sites? 2 Answers