Any person undertaking any work of erection or demolition on any site must confine all operations in connection with such work within the boundaries of such site and must not encroach upon or over any street or public place abutting such site, except with the prior written approval of the local municipality, and subject to the conditions contained in such approval with regard to the safety and convenience of persons using such street or public place.