???? Setting File and Folder Permissions
File and folder permissions control who can read, write, or execute your website files. Setting them correctly ensures your website is secure and functions properly.
With Fast Host Nig, you can easily manage permissions through cPanel or FTP.
???? Step 1: Log in to Your cPanel
-
Visit www.fasthost.com.ng.
-
Go to Client Area → Login → Access cPanel.
-
Click File Manager under the Files section.
???? Step 2: Locate the File or Folder
-
In File Manager, open the
public_htmldirectory. -
Find the file or folder you want to modify (e.g.,
index.phpor/imagesfolder). -
Right-click on it and select Permissions or Change Permissions.
???? Step 3: Understand Permission Numbers
Permissions are represented by a three-digit code like 755 or 644.
Each number represents a different access level for:
-
Owner – You (the account holder)
-
Group – Other users in the same group
-
Public – Everyone else (visitors)
| Permission | Meaning | Description |
|---|---|---|
| 7 | Read, Write, Execute | Full access |
| 6 | Read, Write | Modify but not execute |
| 5 | Read, Execute | View and run files |
| 4 | Read only | View only |
| 0 | No permission | No access |
Example:
-
644 → Files (Owner can edit, others can read)
-
755 → Folders (Owner can edit, others can view/execute)
???? Step 4: Set Recommended Permissions
For most websites:
-
Folders:
755 -
Files:
644 -
Configuration files (like wp-config.php):
600for extra security
To change permissions:
-
Enter the desired numeric value.
-
Click Change Permissions or Save.
???? Step 5: Using FTP (Optional)
If you prefer using FTP software like FileZilla:
-
Connect using your FTP credentials.
-
Right-click on any file or folder → select File Permissions.
-
Enter the numeric value (e.g., 755 or 644) → click OK.
⚠️ Important Tips
-
Avoid setting permissions to 777 — it gives full access to everyone and is a major security risk.
-
Always back up your files before making changes.
-
If unsure, contact Fast Host Nig Support for help.
✅ That’s It!
You’ve successfully learned how to set and manage file and folder permissions in Fast Host Nig.
Proper permissions keep your website secure and running smoothly.