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

You are under ddos attack ?

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

Real-time Ddos attacks in the world

https://www.digitalattackmap.com   https://threatmap.checkpoint.com

Security of your php config file

This should be a basic rule known of all, but fact is that it is not... The php config file...

Backup and restore of your files

1. Automatic restore (Your data are also kept external server over last 15 days for shared...

Optimal technique for DNS update

The DNS to be inserted for your hosting service are mentioned in the email of access that...