PHP Permissions Dilemma

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Pete

    PHP Permissions Dilemma

    I'm developing an open source CMS, but have come across a problem. The
    system dynamically creates .php files for the front-end of the site, meaning
    they're owned by user 'nobody'.

    However, for anyone with safe mode turned on, any "require_on ce" or
    "include_on ce" commands used in these php pages won't work due to safe mode
    restrictions (the script whose uid is * is not allowed to access..). I want
    to this system to be available to users without access to the chown command
    (many hosts block it), and with safe mode on, so any suggestions?

    Many thanks.
    I'm developing an open source CMS, but have come across a problem. The
    system dynamically creates .php files for the front-end of the site, meaning
    they're owned by user 'nobody'.

    However, for anyone with safe mode turned on, any "require_on ce" or
    "include_on ce" commands used in these php pages won't work due to safe mode
    restrictions (the script whose uid is * is not allowed to access..). I want
    to this system to be available to users without access to the chown command
    (many hosts block it), and with safe mode on, so any suggestions?

    Many thanks.


  • steve

    #2
    Re: PHP Permissions Dilemma

    "Pete" wrote:[color=blue]
    > I’m developing an open source CMS, but have come across a
    > problem. The
    > system dynamically creates .php files for the front-end of the[/color]
    site,[color=blue]
    > meaning
    > they’re owned by user ’nobody’.
    >
    > However, for anyone with safe mode turned on, any "require_on ce"[/color]
    or[color=blue]
    > "include_on ce" commands used in these php pages won’t work due
    > to safe mode
    > restrictions (the script whose uid is * is not allowed to[/color]
    access..). I[color=blue]
    > want
    > to this system to be available to users without access to the chown
    > command
    > (many hosts block it), and with safe mode on, so any suggestions?
    >
    > Many thanks.
    > I’m developing an open source CMS, but have come across a
    > problem. The
    > system dynamically creates .php files for the front-end of the[/color]
    site,[color=blue]
    > meaning
    > they’re owned by user ’nobody’.
    >
    > However, for anyone with safe mode turned on, any "require_on ce"[/color]
    or[color=blue]
    > "include_on ce" commands used in these php pages won’t work due
    > to safe mode
    > restrictions (the script whose uid is * is not allowed to[/color]
    access..). I[color=blue]
    > want
    > to this system to be available to users without access to the chown
    > command
    > (many hosts block it), and with safe mode on, so any suggestions?
    >
    > Many thanks.[/color]

    Pete, I think php is being twisted here. Are you sure you need
    dynamic php scripts in the first place. With scripts, the idea is
    static code, and dynamic data.

    --
    http://www.dbForumz.com/ This article was posted by author's request
    Articles individually checked for conformance to usenet standards
    Topic URL: http://www.dbForumz.com/PHP-Permissi...ict139405.html
    Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz.com/eform.php?p=467189

    Comment

    Working...