Results 1 to 4 of 4

Thread: Jail PHP CGI

  1. #1
    Join Date
    Mar 2009
    Posts
    124

    Jail PHP CGI

    I'm reading the howto on CGI jailing:

    http://help.directadmin.com/item.php?id=90

    If i understood correctly, this was supposed to prevent users from browsing outside their directory through php, however this does not work for me.

    Followed the guide but the user is still able to browse the folders outside his home directory. (/, etc)

    Using PHP 5.2 with suphp/cgi.

  2. #2
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    13,750
    As far as I remember it is actual only for SSH sessions, as an user gets an jailed version of sh/bash. That's it.
    Regards, Alex G.

    - Get the best commercial DirectAdmin support and hire me on poralix.com
    - Follow and like @Poralix on Facebook

  3. #3
    Join Date
    Mar 2009
    Posts
    124
    seems like, but why is the guide's name "How to setup jailed ssh and jailed cgi (beta)" and what does cgi have to do with it then?

  4. #4
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    13,750
    jailed cgi
    I've never tested this part.
    Regards, Alex G.

    - Get the best commercial DirectAdmin support and hire me on poralix.com
    - Follow and like @Poralix on Facebook

Similar Threads

  1. How to jail php?
    By Dark in forum General Technical Discussion & Troubleshooting
    Replies: 15
    Last Post: 12-14-2008, 02:39 AM
  2. Jail(8)
    By dejine in forum FreeBSD 4.x
    Replies: 0
    Last Post: 09-30-2004, 05:10 AM
  3. Jail?
    By dacsoft in forum DirectAdmin General Discussion
    Replies: 10
    Last Post: 06-21-2004, 05:16 AM
  4. Have anybody DA in the jail?
    By DJSedoy in forum FreeBSD 4.x
    Replies: 5
    Last Post: 06-15-2004, 10:24 AM
  5. SSH Jail
    By jasonyates in forum DirectAdmin General Discussion
    Replies: 4
    Last Post: 11-22-2003, 03:00 AM

Posting Permissions

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