In New York City, it’s illegal for a building's entrance to be unsafe. Landlord duty to provide safe entrances due to local housing rules and the general idea of habitability. Tenants have the right to live in a safe environment when they move in. This includes the expectation that their building's entry is well-kept, well-lit, and sturdy.