Landlords do not have the right to take photographs inside your apartment without your permission. If your apartment is messy and the landlord knows it, he or she may come up with a reason to request an inspection, and then try to take pictures to use against you on a claim of unsafe clutter. Also, the landlord is not permitted to look in your closets without your consent. If he or she attempts to do so, you can block access by standing in front of the closet door. If the landlord persists, ask him or her to leave. If your request is ignored, call the police - do not risk having the disagreement escalate into a physical altercation. When your landlord engages in these tactics, it's good to have someone else present for the visit so you'll have a witness in court, or when the police come.
Attention New York City Tenants: Get more information on Landlord Tenant matters at the McAdams Law main site here.