What permissions should be used for uploading files?

Correct permissions are vital for both security and functionality.

  • Directories/Folders: Should be set to 755. This allows the owner to read/write/execute while others can only read and execute.
  • Files: Should be set to 644. This allows the owner to read/write, while others can only read the file.
  • Critical Files: Files like wp-config.php should have stricter permissions (e.g., 400 or 440) to prevent unauthorized access .
Was this answer helpful?

Related Articles

How to create an FTP account in cPanel

If you need to give someone access to your site files without sharing your main cPanel password,...

How to set up WinSCP for secure file transfer

WinSCP is a popular free client for managing your Hostaday hosting files . Host Name: Use...

Initial FTP configuration on VPS and Dedicated servers

For VPS and Dedicated servers , you must ensure the FTP service is running: Service Selection:...

How to access your hosting account via FTP

Accessing your Hostaday account via FTP is the standard way to upload a website . Credentials:...