In a shared building the landlord owns the lobby door and each tenant its suite. Strangers use the gap.
In a multi-tenant building the landlord owns the lobby door, each tenant owns its suite, and the gap between them is where strangers get in. How to close it, and the New York rules that apply.