1. Guarantee Web site malware removal (joomla, drupal, wordpress etc) - don't let your business get down due to virus, malware and blacklist problem.
  2. Recommended Web Hosting to help you doing business online with high performance. : Support ioncube, zend and all other hosting by default.
  3. Get free wordpress website transfer : up to 4 domains Find out more .... Click here to see other user testimonial

How to add password protection to a folder inside my blog?

sucuri long Howto password protect directory in cpanel based hosting

That question came from a hostingformula.net reader and I try to answer it with example.

I use cpanel based hosting where facility for password protect directory provided under ‘Security’ section.

Target :

I’ll create new folder called ‘magic‘ that protected by username and password.

Open cpanel and find security area, find password protected directory and clic the icon.

cpanel protect directory 1 Howto password protect directory in cpanel based hosting

Pick a directory to open. I choose hostingformula.net

click Go.

cpanel protect directory 2 Howto password protect directory in cpanel based hosting

Menu will provide list of folder that available to choose.

I choose ‘public_html

cpanel protect directory 3 Howto password protect directory in cpanel based hosting

Beware

1. Make sure folder that you want to protect exist ( I’ve create a folder named ‘magic’ inside public_html)

cpanel protect directory 6 Howto password protect directory in cpanel based hosting

2. You already browse to ‘magic’  directory.

If you still in public_html (see the address of your cpanel) just add :

/magic

as you see from the picture below.

cpanel protect directory 7 Howto password protect directory in cpanel based hosting

Now you can check ‘password protect this directory’ check box.

Enter name (you can enter anything, I enter same name as folder I’ve create before) and click save.

cpanel protect directory 4 Howto password protect directory in cpanel based hosting

Set permissions for /home/hosting/public_html/magic

message will appear.

Create user that allowed to access ‘magic’ folder . Click ‘Add/modify authorized user’ button when you’re done.

cpanel protect directory 5 Howto password protect directory in cpanel based hosting

Finish.

You can repeat the process to add other user. I’ve create other user and pass for you if you want to try the effect.

User : testing

Password : testing123456

Address :

http://hostingformula.net/magic

See you in next post!

hg Howto password protect directory in cpanel based hosting

Related posts:

  1. Install IonCube Loader on Cpanel based Web Hosting
  2. Reset wordpress password, after invalid key
  3. How to change MySQL password on fatcow web hosting
  4. Moving hostingformula.info : from ssh enabled host to cpanel enabled host
  5. Step by step move drupal from localhost to drupal hosting : AddOn Domain Setting

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

   
© 2011 Hosting Formula Suffusion theme by Sayontan Sinha