I often take pictures out of the window, epesicially if I'm flying over something particulary interesting or outstanding. I've never been told otherwise, nor heard anyone else or any announcements to suggest otherwise either. I'm not saying such announcements were not made, or
are not made, maybe I just haven't flown over the right places.