The accused, identified as Ashok Shankar Trimukhe (45), was today arrested from Dharavi area today, Assistant Police Commissioner Shivaji Kolekar told PTI.
"He is a spot boy in Film City," Mr Kolekar said.
The accused claimed that he had gone to Haasan's residence to seek job for his brother, but before he could say anything, the actor got scared and banged the door, police said.
The accused also claimed that he had no intention to scare her.
According to the Bandra police, the incident occurred on Tuesday morning about 9.30 AM when Ms Shruti, the daughter of noted actor Kamal Haasan, answered the door bell of her sixth floor apartment in a building at Bandra.
The 27-year-old actress was confronted by Mr Trimukhe, who allegedly tried to barge into the apartment. He questioned the actor as to why she didn't recognise him.
"The accused had even put his hand on the shoulder of the actress. The actor, although rattled, managed to push the man away and locked the door," a police officer had said.
The accused was booked under IPC sections 354 (assault or criminal force to woman with intent to outrage her modesty), 452 (house-trespass alter preparation for hurt, assault or wrongful restraint) and 345 (wrongful confinement).