From The Army Public Affairs Program
Army Regulation 360-1

7–20. Photographing military installations or equipment
a. Public access to Army installations is determined by local commands. Photographing historical buildings or areas of public interest for private use is generally permitted, but also subject to approval by the local command.
b. Ground or aerial photographs, sketches, or graphic representations of classified military equipment or installa-tions designated as restricted areas are punishable by law (18 USC 795). Reproducing, publishing, or selling this type of material is also punishable by law unless the photograph, sketch, or graphic representation indicates it has been reviewed and cleared for release by proper authorities.