Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8256567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T01:53:45+00:00 2026-06-08T01:53:45+00:00

Possible Duplicate: Code obfuscator for php? How to protect my source code when deployed?

  • 0

Possible Duplicate:
Code obfuscator for php?
How to protect my source code when deployed?

We’re developing a PHP project which we intend to sell to end-users. We’re licensing this project, so our end-users get a license to use the product (they do not own it).

Our problem is that we want to deploy the code at the customer’s server, but we don’t want the customer to be able to distribute it any further. With plain PHP code you could easily copy paste the code and give it to your neighbour ;), we would like to prevent that (a bit like preventing piracy). We could work with serials and a activation server, but since customers can easily edit PHP code that is not an option.

Do you’ve got any thoughts about how to secure this project, so the mean pirates won’t be able to illegally resell our project.

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T01:53:46+00:00Added an answer on June 8, 2026 at 1:53 am

    You can encode the code (or the core/essential files of it) with encoder like ioncube and generate license file that is bound to *.example-domain.com and won’t work on any other domain. This way your code is quite well protected from getting distributed.

    http://www.ioncube.com/tutorials/encoder_gui/

    There are also ioncube alternatives – read more out there for PHP Encoders and licensing, most of the encoders that are suitable for commercial needs (reliable) – are paid to use (eg per line of encoded code). In such case I would encode only the core libraries on which the whole project relies on.

    Have in mind that this is likely to make it quite unpleasant for them to do it, but in any case if the product is so good, it will get cracked and distributed eventually. But usually that means you’ve done something spectacular to gain such attention and many people are getting the legal way.

    I hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: PHP code is not being executed (i can see it on source
Possible Duplicate: Protect .NET code from reverse engineering? we just develop a application with
Possible Duplicate: Any php code to detect the browser with version and operating system?
Possible Duplicate: Encrypt php code I am looking for a encoder to encode php
Possible Duplicate: How to generate assembly code from C++ source in Visual Studio 2010
Possible Duplicate: Stable way to embed open-source code into static library in iOS? I
Possible Duplicate: Obfuscator which supports WPF properly I am looking for a free WPF
Possible Duplicate: PHP code mkdir('images','0777') creates a folder with 411 permissions! Why? I am
Possible Duplicate: Dynamic source code in C++ is it possible to let the user
Possible Duplicate: Minify / Obfuscate PHP Code I have a php file. Anyone knows

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.