Chmod(777) a security problem?

Discussion in 'Co-op Advertising Network' started by RichHope, Jan 21, 2005.

  1. #1
    Hello,

    I just wondered if the chmod 777 on the ad_network_ads.txt might be a security risk. 777 means executable by all users.

    So if somebody writes some perl-code or similar into that textfile (after all it is wide open for writing too) then he might get his code somehow executed on the server. Not sure about it though...

    Any thoughts on this?

    I think 666 (write and read for all) should be sufficient. Correct?

    Thanks for any answers.

    Greetings
    RichHope
     
    RichHope, Jan 21, 2005 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    Should be fine... just needs to have the web server "user" be able to read and write the file.
     
    digitalpoint, Jan 21, 2005 IP