Htaccess directory protection

1

Go to your cPanel in section Files and click Directory privacy.

To secure one of the directories you see, click the folder name

To secure a subdirectory, you must navigate the subdirectories: you have to click on the icon to the left of the folder name to go down one notch in the tree ... and click on the name of the folder you want to secure ...

1. Click 'Password protect this directory', give a name and save
2. Create a user with login + password, and save (check again to make sure protection is enabled on directory)

Wait now 2-3 minutes so that server will take new seurity seting into account...

 

Also Read

Backup and restore of your files

1. Automatic restore (Your data are also kept external server over last 10 days, every 24...

Security of your scripts/files

PHP versions used on servers are regularly updated for performances, stability, and especially...

MANDATORY security measures for WordPress

It is not a secret, wordpress websites suffer from multiple attacks and increasingly causing...

Protection WordPress xmlrpc.php

You are actually by default on mode PROXY with profile 'YOORshop defaut', this is good to know if...

You are under ddos attack ?

    Ddos attack ? Let's talk about it in case we did not already intervene :) Naughty IPs...