The landlord is allowed to ask for a deposit of an amount up to one months’ rent, and this can be applied only to the cover last month rent before moving out.