Setting file and user permissions
Linux is a multi-user environment. In a multi-user environment, the security of user and system data is very important. Therefore, access should be given only to users who need to access the data.
- Log in to your Bluehost control panel.
- Locate the File Manager tool under the Files category.
- Select the file/folder name you wish to change permissions for.
- In the menu, select Change Permissions—select permissions as appropriate for your needs.
You will generally want to restrict writable access to "group" and "world" permissions and set them only for "user" access. Files you do not want to be changed (i.e., read-only) should have writable access turned off for all types of access.
- Folders should have a permission set of 755.
- Files should use 644.