Results 1 to 4 of 4

Thread: Protect Code

  1. #1
    Join Date
    Nov 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Protect Code

    I am trying to determine the best way to protect PHP sourcecode, and was wondering if anyone had any suggestions?

    I've seen products like PHP Lockit!, do you know if programs like that actually work?

    _____________________

    Web Design London
    Walking Sticks

  2. #2
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Mary View Post
    I am trying to determine the best way to protect PHP sourcecode ...
    Against whom?

    I've seen products like PHP Lockit!, do you know if programs like that actually work?
    Well apparently not that one. A review [PDF] shows that not only can its output be reversed, but that it may actually break code. In fact, even the FAQ for the product suggests these things (if you know what you're looking for).

    Mike

  3. #3
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    you can steal php source code? that shouldn't be possible....

    its sent from the server as html.... odd...
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    The only time you php source would be available is if you gave someone access to your server and/or sent them the files.
    If you're planning to sell the scripts, it might make some sense to secure it.
    However, since it must be interpreted by the php parsing engine anyway, there's a very likely chance that it's reversable if the person knows enough.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

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