I need to password protect a directory on my server cant get it working using .htaccess is there any other way can do it? Thanks
Go to your cpanel, click on the icon that says "password protect directories". ONce inside, just find the directory you want to protect.
You can protect access to services using php auth but, you will not protect files in directory, so the only way is .htaccess, or php + file wrapper + mod_rewrite - the last is hard solution What hosting do you use? you can create .htaccess and passwd file yourself