Restricting Access and Protecting Code

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

    #1

    Restricting Access and Protecting Code

    Hi All

    I have written an application in PHP that will be used by telecoms and
    ISP's. It will be installed on a server that will only be running this
    app. Will most probably be using the latest SuSE linux version.
    I need to provide them with root access to the server so that
    they may perform simple issues such as IP address changes and backups.

    I do not want them to have access to my code nor the postgres db.
    It is vital that this is protected.
    There are some php encoders available such as Zend Encoder.
    Do these encoders do the job well?

    Could someone please advise me on the best way forward.

    Much appreciated

    Barry
  • Colin McKinnon

    #2
    Re: Restricting Access and Protecting Code

    Barry wrote:

    [color=blue]
    > I need to provide them with root access to the server so that
    > they may perform simple issues such as IP address changes and backups.
    >[/color]

    No you don't. Not a good policy for a supplier owned / customer managed
    system. Try Webmin and sudo.
    [color=blue]
    > I do not want them to have access to my code nor the postgres db.
    > It is vital that this is protected.
    > There are some php encoders available such as Zend Encoder.
    > Do these encoders do the job well?
    >[/color]

    There's Turck as well. Certainly Zend and Turck seem to work well. I've also
    seen a couple of home made encoders which were a joke though (actually I
    saw the output of them which took about 5 minutes to revert).

    C.

    Comment

    • Jerry Stuckle

      #3
      Re: Restricting Access and Protecting Code

      Barry wrote:[color=blue]
      > Hi All
      >
      > I have written an application in PHP that will be used by telecoms and
      > ISP's. It will be installed on a server that will only be running this
      > app. Will most probably be using the latest SuSE linux version.
      > I need to provide them with root access to the server so that
      > they may perform simple issues such as IP address changes and backups.
      >
      > I do not want them to have access to my code nor the postgres db.
      > It is vital that this is protected.
      > There are some php encoders available such as Zend Encoder.
      > Do these encoders do the job well?
      >
      > Could someone please advise me on the best way forward.
      >
      > Much appreciated
      >
      > Barry[/color]

      Barry,

      As Colin said - you do not have to provide them with root access - nor should
      you do so! What happens if, for instance, they do

      rm -R /

      (Hint: do NOT try it on a system you care about!).

      Backups I understand. But IP address changes? Why would those need to be done?
      Static IP's are generally set up at install time, dynamic ones are handled
      automatically. In either case, you don't need root access.

      Check some of the Unix groups for more information on security.

      As for encoding - they will stop the casual peeker. But they won't stop someone
      who really wants to get at the code. But then if they really want it, even
      compiled code (i.e. C/C++) can be gotten at.

      It's just a matter of how much effort they're willing to expend.

      --
      =============== ===
      Remove the "x" from my email address
      Jerry Stuckle
      JDS Computer Training Corp.
      jstucklex@attgl obal.net
      =============== ===

      Comment

      Working...