use php but not access the source

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • /dev/null

    #16
    Re: use php but not access the source

    > > Yes, I think eventually I'm going to just give them some php that
    connects[color=blue][color=green]
    > > up to my site (on the same server) and requests my site do the work.[/color]
    >
    > Being on the same server isn't going to help you any, because shell
    > access will still allow the files to be read.[/color]

    They don't have shell access.
    [color=blue]
    > However, you could chroot
    > the ftp, then the users can only browse the files in their home
    > directory - if they only have ftp access.[/color]

    Maybe you're not understanding me. I would put a "connector" on their site
    that just querries my site for the results. My site then runs the full php
    source that builds the results and sends them back to the connector. The
    connector then formats the results and sends them back to the user that
    requested them.

    My code at no time would ever exist on their site or their ftp directories
    for them to even see them.

    Even if they had shell access they couldn't see them, as the shell wouldn't
    give them access to my site's home directory.
    [color=blue][color=green]
    > > And it would allow that their site could eventually reside on another
    > > server, although that's not an optimal solution.[/color]
    >
    > Maybe not an optimal solution, but if you don't want the code to get[/color]
    out...

    Like I said, I don't have to do it this way (allow them to run on another
    server), but at least if they wanted/needed to I could.

    I foresee this business growing so much that I will have to put the client's
    sites on one set of servers and put my site across several servers "behind"
    theirs. That way I could grow my site to as many servers as I needed to
    according to the load and I could add more client servers as I signed up
    more clients.


    Comment

    • Tim Van Wassenhove

      #17
      Re: use php but not access the source

      On 2004-01-26, /dev/null <dev.null@Begin Thread.com> wrote:[color=blue]
      > Maybe you're not understanding me. I would put a "connector" on their site
      > that just querries my site for the results. My site then runs the full php
      > source that builds the results and sends them back to the connector. The
      > connector then formats the results and sends them back to the user that
      > requested them.[/color]

      Aaaaah, webservices ;)

      --

      Comment

      • CountScubula

        #18
        Re: use php but not access the source

        "/dev/null" <dev.null@Begin Thread.com> wrote in message
        news:SXbRb.1579 60$na.265389@at tbi_s04...[color=blue][color=green][color=darkred]
        > > > Yes, I think eventually I'm going to just give them some php that[/color][/color]
        > connects[color=green][color=darkred]
        > > > up to my site (on the same server) and requests my site do the work.[/color]
        > >
        > > Being on the same server isn't going to help you any, because shell
        > > access will still allow the files to be read.[/color][/color]

        At this point, you may want to consider writing the wrapper/doorway in C and
        compiling it, and let this sit on the clients server.

        just a though

        --
        Mike Bradley
        http://www.gzentools.com -- free online php tools


        Comment

        Working...