NOAA tells SpaceX to turn off the camera 9 minutes into Iridium Next launch
arstechnica.com
arstechnica.com
I asked in this comment (https://news.ycombinator.com/item?id=16555617) what happens when someone sends up a cubesat that turns out to be a "spy satellite." Apparently NOAA has a regulation for that. Apparently buried in this web site (https://www.nesdis.noaa.gov/CRSRA/) which includes "Balance commercial viability of private Earth remote sensing space systems and sound regulatory practices and policies while protecting national security, foreign policy and international obligations."
So I guess they would come after you if you put up a cubesat that you could point in any direction and take pictures and send them back to Earth.