I have a folder which contains an admin panel - no password or session management is on the script. The URL is complex to get too. To save time before making an admin login system. Can I restrict a folder and all sub folders and files via .htaccess
or should I make a PHP include which checks an Array list of IPs and then just does die()
or redirect Header()
to external source?
Thanks