My blog was compromised 3 days ago. The guy probably deleted or maybe took my database and then installed a new one which is completely empty. I have no idea how they got inside. So maybe if there is a way I can limit which IP can access my cpanel.

I know I can make a single IP access a dashboard through htaccess, but this time I'm gonna try cpanel, is this possible?