Results 1 to 8 of 8

Thread: blocking PHP access

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2009
    Posts
    3

    Unhappy blocking PHP access

    hi all,

    i have a Apache web server on red hat linux machine.
    in some folders i need to block uploading PHP files for a certain user group (who access those folders through FTP)
    this should not apply blocking PHP functionality in other folders.

    highly appreciate your advices

    thanks

  2. #2
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: blocking PHP access

    this is probably something you need to configure in your FTP server, though I have no idea how you might go about it.

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 2009
    Posts
    3

    Re: blocking PHP access

    anyone else can help on this?

  4. #4
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: blocking PHP access

    This isnt a PHP problem, wrong forum. Like kows said, you will need to configure your FTP server.

    Do you know what FTP server you are using?

  5. #5

    Thread Starter
    New Member
    Join Date
    Sep 2009
    Posts
    3

    Re: blocking PHP access

    no, don't know.is there a way to check that

  6. #6
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: blocking PHP access

    yes by asking your hosting company.

  7. #7
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Re: blocking PHP access

    I assume you don't actually want to stop them from uploading a php file, more you don't want the php file to be able to execute.

    Couldn't that simply be stopped by turning off execution rights to the specific FTP folders?

  8. #8
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: blocking PHP access

    possibly even a .htaccess file...

    Maybe this:
    http://stackoverflow.com/questions/1...htaccess-rules

Posting Permissions

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



Click Here to Expand Forum to Full Width