Admin.php To Directory

Dose anyone know if its possible to put admin.php in a directory? Some one tried to hack me, so I'm looking to make my site more secure. I'm all so using access restriction add-on.

Why not just rename it like it is suggested? https://docs.cs-cart.com/latest/install/security.html#step-1-rename-admin-php

I have renamed it, I'v taken all the steps suggested by CS-Cart. But someone still managed to hack me. I just wanted to take extra precaution by pudding admin.php in a directory and then password protect that directory.