Never leave the factory settings intact. Update the administrator username and create a strong, unique password. Disable UPnP on Your Router
Manufacturers release patches to fix vulnerabilities in old web servers. Keep the device firmware updated to close known security loopholes in the .shtml rendering engine. If you want to secure a specific camera model, tell me: The The approximate age of the device view index shtml camera best