Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a script I want to sell. It's written in PHP, but that's not relevant here I guess. I want to secure my script with a license, so the buyer is forbidden from redistributing it.

This is the first time I am selling my own script, so I have no idea how to start with this. Please let me know how I can protect my script with a license and what kind of license.

share|improve this question
IANAL, but in most Western countries, unless you explicitly provide a license which allows redistribution, redistribution of other peoples' copyrighted works is prohibited by law. No need for any sort of license for that. – Michael Kjörling Jun 4 '13 at 13:58
Sharing your research helps everyone. Tell us what you've tried and why it didn’t meet your needs. This demonstrates that you’ve taken the time to try to help yourself, it saves us from reiterating obvious answers, and most of all it helps you get a more specific and relevant answer. Also see How to Ask – gnat Jun 4 '13 at 17:33
  1. Don't ask mostly anonymous people on the Internet for legal advice.
  2. Look around at the commercial software you already have and read their licenses.
  3. Look at your competition's licenses (they're often available on the web site, no purchase required.
  4. If you find one you like, consider having your own lawyer (familiar with the laws in your country) take a look at it.
share|improve this answer
+1 especially for 1 and 4. – Caleb Jun 4 '13 at 14:05
5. If you are selling your software -- charge enough to pay the Lawyer from #4 to answer these questions. – Craig Jun 4 '13 at 21:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.