Tazz Posted February 14, 2011 Share Posted February 14, 2011 The title may be a bit misleading, but essentially what I have is a custom CMS I built in PHP. What I want to do next is to build some sort of authentication to ensure my code was not copied and reused on another server. I need some way to communicate between my CMS and an external script to ensure that it is valid. I was thinking of putting a file on a domain. A simple function that accepts an url this function takes the url, searches the db, if it finds it, send back an result. My CMS obviously queries this function with the current url of the domain and if the url is in my db, the software works, otherwise it displays a message saying it was illegally copied. How do I build this interaction between the two? I could use AJAX, but i need something a bit more robust so that your average developer doesn't figure it out too easily. Quote Link to comment https://forums.phpfreaks.com/topic/227658-remote-authentication-of-sotware/ Share on other sites More sharing options...
ManiacDan Posted February 14, 2011 Share Posted February 14, 2011 Generally people hate when you do this, because that means THEIR software stops working when YOUR site goes down. Think about your liability there. If your server goes down, EVERY CLIENT you've ever had goes down. Bad mojo. Obfuscate it and wrap it in a legal contract. Then get a lawyer if someone steals it. Learn from the DRM fiasco with video games and music. If I wanted to steal your code, I would. You couldn't do a damn thing about it. All you'll be hurting is your paying customers. -Dan Quote Link to comment https://forums.phpfreaks.com/topic/227658-remote-authentication-of-sotware/#findComment-1174234 Share on other sites More sharing options...
Tazz Posted February 15, 2011 Author Share Posted February 15, 2011 You're right. I've been trying justify going this route, but there's just too much risk. Thanks Dan. Quote Link to comment https://forums.phpfreaks.com/topic/227658-remote-authentication-of-sotware/#findComment-1174460 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.