(2)The Municipal Commissioner or the Executive Officer may also, if it appears to him to be necessary so to do, cause a proper hoarding or fence or other means of protection to be put at the cost of the owner or occupier of such land for safety of the public.