Greetings, I apologize if my question is in the wrong section, I really need your advice! What do I need to control devices from a distance? How does it work, and how safe is it?

I want to set up a remote control for my surveillance cameras and I'm worried about security. Maybe there is software that helps secure the connection?