473,394 Members | 1,811 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Make our product licensed

160 100+
i want that my product should be a licensed product. if i ll give code to a person than that person should not be able to sell it further advance. i really have no idea how can i do this.please guide me

i have my product on a server. Is it possible every time script should compare date from that database.please guide me from first step

i ll be vary thankful to you
Dec 5 '08 #1
8 1390
nathj
938 Expert 512MB
As this is in the PHP forum I'll assume it's a PHP product.

The trouble is that PHP is not a compiled language so if your clients host the source on their servers or on servers they have total access to then they could steal the code and you would not necessarily know about it.

You can compile PHP, but I've never done it.

The other option is to host the system yourself for people as part of the package never giving them access to your precious files. I know a number of companies who do this and it can be spun as a great bonus to the client - less hassle for them.

As for product registration etc you can use license keys that need to be submitted. Each key is allowed to be used so many times, or each key gives access to some many people (subtly different) and the key is registered against a particular company name. So if your client tries to sell the product on they won't have a key to give out or they give out their key which is bad for them and bad for the person they are selling it to.

Either way you should get a lawyer involved to put together a good contract for you.

I know that's not a very techy answer but hopefully there are some ideas to get you thinking about this. Whatever you decide let us know and if you need more help/advice post back. Working together we may come up with a great solution for everyone.

nathj
Dec 5 '08 #2
dlite922
1,584 Expert 1GB
@waqasahmed996
We get this alot, in fact a client of mine is trying to obfuscate and encode the code before handing it out, making it very difficult to crack, but still able to distribute as there is no licensing feature. However, there are many companies that offer products that allow you to license PHP application.

Or like the reply above, you could make .exe file, in other words compile it (quick google will help you).

Here are some links:
PADL - PHP Application Distribution License System

NuSphere Nu-Coder: Protect PHP files with Nu-Coder's License Manager

I trust NuSphere and use their PHPED IDE. Although not free, but it may be worth it for you.

This is a huge topic and with so many different solutions, everyone must take the one best suited to them.

Good luck,





Dan
Dec 9 '08 #3
waqasahmed996
160 100+
Thanks for reply
Is it possible that i have a database and file in my own server. i entered a key in database of my own server. when i will sell this code then when code is run first time ( on whatever server) then database of my own server (if a file of my own server is included in original script ) will be updated and add their server name against key. now whenever application will run first time then it will be checked from my own server that key and server name is correct.

But the problem which i am facing that ajax (if information is send through ajax in php) is not sending information on another domain name in firefox and advanced IE versions

Please give me some idea about this
Dec 15 '08 #4
nathj
938 Expert 512MB
I'm not sure there is an issue here. You should be able to connect to the database on your server from the clients server. This should then enable you to run the update you suggest. The one issue I see with this is that if your client changes their host they will need to let you know. You can build this into the checking routine. If the check fails then simply display a message on screen, email yourself and your client and then you can follow up more personally to see what has happened.

I think your idea is workable.
nathj
Dec 15 '08 #5
waqasahmed996
160 100+
thanks again for your reply

yes i am able to connect database of my own server from clients server. i am also able to send clients server and key information (for checking purpose) to the file(which i have my own server). i can compare information which is received from clients server and which is in my own database.

But which thing i can not do is that after check if server name and key is matched, me should send 1 (any output) to client side and if information is not matched then me should send 0 (any output) to client side.

Because i want to stop him from further unauthorized use. Now i am unable to send information back to client side.


what firefox and advanced versions of IE not allowed is that

var url="http://www.example.php"
url=url+"?m="+m
url=url+"&sid="+Math.random()

now value of "m" cannot be send to www.example.php
Dec 15 '08 #6
nathj
938 Expert 512MB
Okay, it's the return that's the issue. Perhaps the query string in the wrong place to make the return.

Surely the processing of this check is done on your clients server. This should mean that everything you need from the DB is accessible on the clients box. Therefore, you could throw stuff into the session if the query string is out of bounds.

Got meetings all day but I'll give this some proper thought later
nathj
Dec 15 '08 #7
waqasahmed996
160 100+
hello again

Session is not working if page domain name is changed
Dec 15 '08 #8
nathj
938 Expert 512MB
So are you sending the information to be checked from your clients server to your server and then doing the checking on your own server? I guess that makes sense as if you have the checking code on the clients server they could see how to fudge it.

Obviously session wont work across domains - my bad. I think then what you need to do is something a bit clever.

sounds like you need some sort API to do this so that the client server calls your API which runs the check and then returns XML for you to process on the clients server. I suggest this because I have integrated with a number of third parties using this methodology and it works a charm. However, I've never built an API and unfortunately don't have the time at present to look into that for you - I would love to but I'm just starting a new project at work and it's the early days flourish of activity at present.

Sorry I've been a bit pants.

Cheers
nathj
Dec 16 '08 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Chris | last post by:
I am trying to create licensing functionality in a .NET application. When the software is licensed then I want it to store this fact somewhere on the user's computer, this way the next time the...
2
by: anil | last post by:
Hi! I was installing Visual Studio .Net to my new computer. I've never installed any product of Visual Studio before to this computer. In the screen where I should enter my product key, which came...
5
by: khan | last post by:
this is my code, it is updating QTY on Hand when you make a new sale or if you got some product returned. Now as it is updating QTY when qty textbox lost focus if some one is going through...
1
by: Joe Thompson | last post by:
Hi, Is it true that MS VC++.Net 2003 does not support licensed components? I almost bought a 3rd party serial port component and the vendor told me this. They said it would only work on the...
0
by: Rush | last post by:
In vb6, if I wanted to wrap a licensed control in my own control, I selected "Require License Key" from the Project Properties. What is the analagous step to take in VB.net so that I can wrap a...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
13
by: Niyazi | last post by:
Hi I have a report that I have to run it monthly in my machine. My code in VB.NET and I access AS400 to get data, anaysie it and send into pre formated Excel sheet. The data consist of 9000...
1
by: Melisa | last post by:
Hi I have a list of all activeX controls registered on my system. When i add one of these activeX controls to Windows Form on runtime , an exception is thrown if this activeX control is not...
4
by: Kirk Wolf | last post by:
I apologize if this is available in a FAQ somewhere. My question is this: The DB2 Universal Driver jars are shipped with DB2 for z/OS (db2jcc.jar and db2jcc_license_cisuz.jar). If a developer...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.