- Home /
Does NetworkServer and Network.InitializeSecurity()
Hi all,
So I'm using NetworkSever for a low level messaging system as per
https://docs.unity3d.com/Manual/UNetClientServer.html
It's all working brilliantly, but I recently started looking into securing the network messages. The old advice was to use
Network.InitializeSecurity() before initializing the server.
From what I can read the Network class is possibly now legacy but has not been marked as such.
If this is the case, how do I go about enabling security on my NetworkServer messages? Or has this feature been removed from Unity? Or is it now automatically on all the time? Or do you still use Network.InitializeSecurity()?
I guess with the transition to the new UnityEngine.Networking some things got left out of the docs?
Thanks in advance all,
Mike.
Your answer
![](https://koobas.hobune.stream/wayback/20220612110135im_/https://answers.unity.com/themes/thub/images/avi.jpg)