Password Protect a File

In some cases, you might need to password protect a certain file(s). You can do just that by following the instructions below. Create a file named .htpasswd and place it above your root directory, so visitors can’t access it. Example of the root directory...

Changing Permissions (chmod) on a File

In some cases, you may need to change file permissions on a file, also known as chmod. This allows my servers to write to the files when necessary. You can use various methods like FTP but for this tutorial, we’ll be using File Manager in cPanel. Change File...