Results 1 to 1 of 1

Thread: [How To] Set the proper permissions on your web site

  1. #1
    Matt's Avatar
    Matt is online now GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    6,208

    Default [How To] Set the proper permissions on your web site

    The correct permissions for your files on GlowHost servers are as follows:

    600 or 644 PHP Scripts (.php)
    755 Non-PHP Scripts (*.cgi, *.pl, *.pm, *.py)
    644 Non-Script Files (Images, CSS, HTML, Templates, Etc)
    755 All Directories (Any folder below public_html)

    Never run PHP scripts at 755 or 777. At best it won't work (777) and at 755 you leave your site open to hacks. Your script installation manuals may ask for permissions of 777 or 755 for PHP. Please ignore that and use 600 or 644 instead.

    If you have several accounts on the same server, and wish to read or execute scripts between users, you can set 644 on your PHP scripts instead of 600. But chances are that you do not wish for other system users to read or execute your scripts.
    Last edited by Matt; 03-04-2011 at 04:38 PM.
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | Follow us on X |

Similar Threads

  1. Best screen size for web site.
    By Nefrit in forum Web Design
    Replies: 25
    Last Post: 01-15-2024, 02:57 AM
  2. My new web site!
    By vorpalbunny in forum Web Design
    Replies: 3
    Last Post: 09-12-2007, 03:31 PM
  3. High Quality Web Site Templates From GlowHost
    By Matt in forum General Announcements
    Replies: 0
    Last Post: 11-14-2006, 11:17 PM
  4. Setting up my web site....confused
    By selina in forum General Support
    Replies: 1
    Last Post: 06-24-2005, 11:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14