The right of photographers to stand in a public place and take pictures of federal buildings has been upheld by a legal settlement reached in New York.

In the ever-escalating skirmishes between photographers and security agencies, the most significant battlefield is probably the public way — streets, sidewalks, parks and plazas — which has customarily been regarded as a vantage from which photography cannot and should not be barred.

Under the settlement, announced Monday by the New York Civil Liberties Union, the Federal Protective Service said that it would inform its officers and employees in writing of the “public’s general right to photograph the exterior of federal courthouses from publicly accessible spaces” and remind them that “there are currently no general security regulations prohibiting exterior photography by individuals from publicly accessible spaces, absent a written local rule, regulation or order.”