The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

security for file and php

Discussion in 'Security' started by kuwaitnt, Apr 4, 2006.

  1. kuwaitnt

    kuwaitnt Well-Known Member

    Joined:
    Oct 13, 2003
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    i want ask some questions about security


    what is to most function of php should be disabeled ??

    and what is the most importent folder and file should should chmod


    for exampel perl should chmod 744 for secure to ensure cgi shell will not work
    su,top,w,who chmod 700 for secure


    thanks
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    Security is far more than just changing permission and/or ownership of a file or directory. You definitely need more than that. Security is not a "set it and forget it" proposition. Because there are no absolutes, constant monitoring is essential. New attacks are being developed every day and if you're simply going to respond once an attack is discovered it's likely too late. Hackers and spammers will use a number of different means to gain access to a server. In many cases simply waiting for obvious evidence that you've been hacked means you'll never know you've been hacked. The hackers will sneak in, grab what they want, and sneak back out again covering their tracks as they go.

    Just in case any one is interested, these articles discuss the pros and cons of Php vs. Perl:

    Good luck :)
     
Loading...

Share This Page