MN Forum
how protect folder with htaccess? - Printable Version

+- MN Forum (http://forum.mn-shop.com)
+-- Forum: Products (http://forum.mn-shop.com/forum-products.html)
+--- Forum: Ask a Question (http://forum.mn-shop.com/forum-ask-a-question.html)
+--- Thread: how protect folder with htaccess? (/thread-how-protect-folder-with-htaccess.html)



how protect folder with htaccess? - deadlef - 03-12-2013

Hi,

can someone tell me how he have protect folder and data?

i want that the admin-panel/ folder is protected and other folder so that nobody can see this.


RE: how protect folder with htaccess? - Hostpro - 03-12-2013

(03-12-2013, 12:49 AM)deadlef Wrote: Hidden content for guests

Here would be a sample which you could use with the username of Admin and the password of password:

.htaccess:
Code:
Hidden content for guests

.htpasswd:
Code:
Hidden content for guests