It is the responsibility of the landlord of the building to provide peaceful possession of the rented apartment to the tenant. This is in accordance with Article 770 (1) of the Civil Transactions Law, which states: "The lessor may not do anything which disturbs the lessee in his enjoyment of the leased property during the period of the lease, and shall not make any alterations to the property that prevent or disturb such enjoyment, otherwise he shall be held liable.".
A tenant has the right to use the amenities in the building including the usage of common areas and such right of a tenant may not be curtailed or disturbed by any other third party. This is in accordance with Article 11 of the Dubai Rental Law, which states: "Unless otherwise agreed, the rent will cover use of the real property amenities such as swimming pools, playgrounds, gymnasiums, health clubs, car parks, and other amenities."
Based on the aforementioned provisions of law, as a tenant, it is your right to have peaceful possession of your rented apartment and this includes the usage of amenities and common areas in the said building unless otherwise agreed in the tenancy contract.
You may approach your landlord along with the other tenants in your building and submit in writing the security threat and nuisance which you feel as tenants due to the usage of the private access in the building by the public. You may request the landlord to take necessary actions related to security of the building. In the event your landlord does not agree, you may approach the Rental Dispute Centre in Dubai and file a complaint against your landlord.