Permissions Question

Discussion in 'Security' started by COOLORANGEFREEZE, May 17, 2009.

  1. #1
    I want to make my site as secure as possible.

    If I change the permissions for files... the number designations 644, 755, those ones... what should I change them to? 444? And how will this affect my site, my access, and a hackers access?

    Thanks for any input:cool:
     
    COOLORANGEFREEZE, May 17, 2009 IP
  2. Tropp

    Tropp Well-Known Member

    Messages:
    108
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    110
    #2
    For files you would normally run 644

    that means:
    Owner - read and write
    Group - read only
    World - read only

    Setting files at 644 isn't going to give a hacker access. Most hacks these days are from insecure password, poor coding and sql injections

    Hope this helps
     
    Tropp, May 18, 2009 IP
  3. COOLORANGEFREEZE

    COOLORANGEFREEZE Active Member

    Messages:
    296
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    Tropp, thanks for that!
     
    COOLORANGEFREEZE, May 18, 2009 IP
  4. ghprod

    ghprod Active Member

    Messages:
    1,010
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    78
    #4
    thnx for this info :)

    regads
     
    ghprod, Jun 8, 2009 IP
  5. SSANZ

    SSANZ Peon

    Messages:
    861
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Incorrect, most web based infections are due to a mix of bad coding, bad permissions.

    The best permissions are 644, 755. 777 is dangerous.
     
    SSANZ, Jun 8, 2009 IP