Knowledgebase

Setting File and Folder Permissions Print

  • 0

???? 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

  1. Visit www.fasthost.com.ng.

  2. Go to Client Area → Login → Access cPanel.

  3. Click File Manager under the Files section.


???? Step 2: Locate the File or Folder

  1. In File Manager, open the public_html directory.

  2. Find the file or folder you want to modify (e.g., index.php or /images folder).

  3. 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): 600 for extra security

To change permissions:

  1. Enter the desired numeric value.

  2. Click Change Permissions or Save.


???? Step 5: Using FTP (Optional)

If you prefer using FTP software like FileZilla:

  1. Connect using your FTP credentials.

  2. Right-click on any file or folder → select File Permissions.

  3. 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.


Was this answer helpful?
Back