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 6062757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:05:18+00:00 2026-05-23T09:05:18+00:00

Is there any chance to restrict a php script from being shared and used

  • 0

Is there any chance to restrict a php script from being shared and used without license? The scripts are paid and I am thinking what could be a way to prevent “sharing” this php script from happening. Is this possible or impossible? Because the code is open and I can’t encrypt all of it.

I came to a conclusion and not sure if this can work or no?

A. The script asks user to enter a LICENSE/KEY

B. The license is sent to my licensing server and check whether the license is a valid one. (http://…. ?license=X)

C. The license is checked and the result is sent back to client server.

D. The script won’t execute if the LICENSE is not valid.

Is that practically possible? or no?

Problem remains that the user can remove the license check part right (Since the code is open) ? But I could maybe encrypt that file and make it part of a core file that wouldn’t have to be edited by user but still required file that if it was removed, the script won’t function probably.. hmm I am lost 🙂

  • 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-05-23T09:05:18+00:00Added an answer on May 23, 2026 at 9:05 am

    No, I do not think this is actually possible. If you can’t encrypt it, then there is no way to prevent someone from just removing that portion of your script. You could try to make it a pain in the butt to remove. But no matter how hard to you make it, a determined coder could always remove the license check while leaving the primary script intact.

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

Sidebar

Related Questions

is there any chance for take android project backups by running script file. rather
Is there any chance to have/enable auto-completion of Mongo PHP PECL classes in netbeans?
Is there any chance to get this work? I want my tests to be
Is there any chance I'll run into trouble checking coverage with release code in
Is there any chance to configure git to autocomplete the hashes when pressing TAB
In the below code, is there any chance the GC will clean out the
A question regarding a parser. Is there any chance to catch some separators within
I do have a TableLayoutPanel with AutoScroll=true. Works fine: But is there any chance
a couple of google questions: 1 - is there ANY chance that google will
Is there any chance that I could use Lucene's ShingleAnalyzerWrapper to generate bigrams taking

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.