Keeping files private on the internet (.htaccess password or software/php/wordpress password)
Posted
by
jiewmeng
on Pro Webmasters
See other posts from Pro Webmasters
or by jiewmeng
Published on 2011-03-13T03:37:32Z
Indexed on
2011/03/13
8:17 UTC
Read the original article
Hit count: 256
I was asked a while ago to setup a server such that only authenticated users can access files. It was like a test server for clients to view WIP sites. More recently, I want to do something similar for some of my files. Tho they are not very confidential, I wish that I am the only one viewing it.
I thought of doing the same,
Create a robots.txt
User-agent: * Disallow: /
Setup some password protection, .htpasswd seems like a very ugly way to do it. It will prompt me even when I log into FTP. I wonder if software method like password protected posts in Wordpress will do the trick of locking out the public and hiding content from Search Engines? Or some self made PHP script will do the trick?
© Pro Webmasters or respective owner