To connect SecuritySpy to a Milestone XProtect server, you can use the "Milestone generic" camera type in SecuritySpy's Device Setup window. This will allow you to enter the IP address, username, and password for the XProtect server. You can then add cameras from the server and start monitoring them in SecuritySpy.