Problem with getting NTP time (System.Security.SecurityException)

Hello everybody.

I am trying to make a Game for the webplayer and i need to get NTP Time.
The problem is the security settings.

System.Security.SecurityException: Unable to connect, as no valid crossdomain policy was found
at System.Net.Sockets.Socket.Connect_internal (IntPtr sock, System.Net.SocketAddress sa, System.Int32& error, Boolean requireSocketPolicyFile) [0x00000] in :0
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP, Boolean requireSocketPolicy) [0x00000] in :0
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x00000] in :0
at System.Net.Sockets.TcpClient.Connect (System.Net.IPEndPoint remote_end_point) [0x00000] in :0
at System.Net.Sockets.TcpClient.Connect (System.Net.IPAddress ipAddresses, Int32 port) [0x00000] in :0
UnityEngine.Debug:Log(Object)

I read http://docs.unity3d.com/Manual/SecuritySandbox.html but to be honest i didnt understand much.

I wonder if someone could explain me in simple steps on what to do in order to get the real time from this server “time.nist.gov” or any other.

If you are using the WWW class to access a website you do not own, then the alien website needs to have a crossdomain.xml file which gives you access. If this file does not exist, or the file says you cannot have access, then you are not allowed to access the site.

The error message you present says that there is no crossdomain policy file found, so the website web server is not allowing you to have access.