If someone takes over your online account, accesses your data or the hardware/software on your computer without your permission, that person is guilty of the offence of unauthorized access. 1 For example, if someone gains access to your Gmail account without your permission.
The offender is liable to pay you damages/compensation by way of a monetary amount not exceeding one crore rupees. However, it needs to be established that the offender accessed your account dishonestly. 2