Security Cameras working through Glass

Can Security Cameras Work Through Glass?

We’re pretty tempted to install a security camera in the window facing outside for securing the front door or backyard. We also think that mounting a security camera indoor, looking through the window may be a good idea too. But does your security camera work through window glass or any kind of glass? What problems