A friend has gave me some space in his hosting account and I publish my websites from there. However I dont have a control panel/SSH or anything like that. All i have is ftp to my files, phpmyadmin and email system. Now I need to create some passworded areas. Could be directories or just some pages. So the question is; Is there anyway to create passworded directories/files without a control panel like cpanel? I though maybe there is a way to set a password through .htaccess or maybe via a php file or something.
You mean me? I use vista. But I dont host my website from home. He got the hosting through godaddy. I dont know the OS he uses. I can ask if you need. But what is that gonna do? I dont have a control panel like cpanel,kloxo etc.
Please follow the instructions present in the URL : http://www.thesitewizard.com/apache/password-protect-directory.shtml
I dont have access for that either. As i said before. I have ftp, email and phpmyadmin access. Thas all.
He did but still doesnt work. This is what i got in my .htaccess AuthUserFile /home/content/75/9886475/html/MYFOLDER/.htpasswd AuthName "Please Log In" AuthType Basic require valid-user Code (markup): This is what i got in my .htpasswd test:$apr1$OgZ24kXF$ZWx5EDjYB6q/5hZMZnGHR/ Code (markup): Both htaccess and htpasswd are in the folder which is suppose to be passworded. But when i go to index.html in that folder i get the login screen and then i get 500 server error. However when I put the path in htaccess as /MYFOLDER/.htpasswd i still get the login screen and then 500 error