You can use a security camera's night vision through a window by installing the camera in front of the window and ensuring that there are no obstacles blocking the view.