Hi i have ftp account on some hosting and i want to set password for my folder. How can i do that. I used before some directives in apache.conf but htaccess didnt work. How can i set pass on folder via htaccess
Put something like this into your .htaccess file: Code: AuthType Basic AuthName "Members Only" AuthUserFile /path/to/.htpasswd <limit GET PUT POST> require valid-user </limit> Then create .htpasswd with the htpasswd tool. See Code: man htpasswd