What is the easiest way to restrict access to some part of the page?
In php i just put .htaccess and .htpasswd files in /admin folder and it
Now i’ve got one admin folder for controllers, one for views, public
folder and i’m not really sure if it’s still possible. So what is the
easiest way? I don’t have any user logging features on my site, because
i don’t need them. I want only to restric access to admin area.