Legally, generally yes. But some cops have issues with people taking photos even if there are no signs prohibiting it. Fortunately, most cameras use a filesystem that allows for undeletion. Delete the pics/video, then undelete and post on YouTube to shame the pig or sow.
As far as signs prohibiting photos in some places, nothing new. We used to have a beach house near Belmar, NJ, near an (at the time) Army communications engineering research facility called ECOM/EVANS. I remember taking a bike trip with my father sometime in the 80s, biking past the place and seeing signs that said “No photography except by permission of the installation commander, national security act of 1950(?).”
Though I have to say that prohibiting photography in places accessible to the general public (bridges, train stations, etc) is fuckin’ idiotic since plenty of photos already exist online and otherwise.