How to restrict user access to content in folders using PHP and Apache .htaccess files
So I was faced with this problem: I needed to restrict access to content(images, files, documents..) in folders, and normally this is done by using a .htacces and .htpasswd file, but I needed more...