HostOnNet Blog

Tag Archives: protect folder

Password Protect a Folder with .htaccess

To password protect a folder in Apache, create a password file [root@server12 ~]# htpasswd -c /path/to/.htpasswd admin New password: Re-type new password: Adding password for user admin [root@server12 ~]# This is create a password with user user “admin”. This file