SiteGround utilizes Linux OS for all shared hosting servers and every file or folder in Linux has access permissions. There are three types of permissions (what is allowed to do with a file):
Permissions are defined for three types of users:
Thus, Linux file permissions are nine bits of information (3 types x 3 type of users), each of them may have just one of two values: allowed or denied. Simply put, for each file it can be specified who can read or write from/to the file. For programs or scripts it also can be set if they are allowed to be executed.
One simple way to protect your script is to ensure that the correct permissions are applied to your files and folders. The following settings are the recommended permissions:
A common error is to make your templates folder world readable/writable (777). Although this directory contains your visual files, it is very important to have the right set of permissions. You should never set the permissions to be higher than 755.
« Go back
Powered by Help Desk Software HESK - brought to you by Help Desk Software SysAid