1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Easy Question related to WebHosting, CGI and Basic Setup/Security question

Discussion in 'Security' started by bz029, Jun 23, 2006.

  1. #1
    My experience with PHP is mostly on a local machine...

    I am doing a website right now though and i want to use .php to dynamically generate the content. My webhosting company auto only allows scripts to run in /cgi.

    When I called support they told me where to go to allow scripts to run in all directories, and she told me that I would need to enable that to do what I'm trying to do.

    My question is this:

    Is there a security risk for allowing all directories to run PHP?

    The support woman said no. But I dont know how much I believe that. lol
     
    bz029, Jun 23, 2006 IP
  2. wheel

    wheel Peon

    Messages:
    477
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #2
    There shouldn't be. You want php running in all directories I think - one small risk is exposing the php code to visitors - making .php files executable ensures they never see the code.
     
    wheel, Jun 27, 2006 IP