gondalmk Posted April 9, 2007 Share Posted April 9, 2007 Hi, I'm new in PHP and for a new project I'm considering to use PHP but I couldn't find any information about protecting the scripts from being copied. Once I'm done with the development, I want to upload it on a web site but I want to prevent the site to be copied by the administrator to another site. Any idea is this possible and how this can be done? Thank you Quote Link to comment https://forums.phpfreaks.com/topic/46230-is-there-a-way-to-protect-the-a-php-site-from-being-copied/ Share on other sites More sharing options...
clown[NOR] Posted April 9, 2007 Share Posted April 9, 2007 well... I just created a .htm file on my desktop containing a direct link to one of my .php files that i've uploaded.. i rightclicked the link and saved the .php file on my computer and it didn't show anything except the HTML codes, same as you get if you rightclick on the .php page itself and select "View source"... but people with more skills than me probably would be able to get it tho... dunno... but I have no clue how to do it... hehehe Quote Link to comment https://forums.phpfreaks.com/topic/46230-is-there-a-way-to-protect-the-a-php-site-from-being-copied/#findComment-224788 Share on other sites More sharing options...
btherl Posted April 9, 2007 Share Posted April 9, 2007 A google search for "php obfuscator" may help. Quote Link to comment https://forums.phpfreaks.com/topic/46230-is-there-a-way-to-protect-the-a-php-site-from-being-copied/#findComment-224797 Share on other sites More sharing options...
clown[NOR] Posted April 9, 2007 Share Posted April 9, 2007 hmmm... interesting... never even heard of it... thanks man (even tho i didn't start this post... learned something new today to) Quote Link to comment https://forums.phpfreaks.com/topic/46230-is-there-a-way-to-protect-the-a-php-site-from-being-copied/#findComment-224803 Share on other sites More sharing options...
gondalmk Posted April 10, 2007 Author Share Posted April 10, 2007 Guys, Thank you for your reply. I know that from the php file the end user will see only the HTML output but my question is how to protect the file from peope who have ftp access to the server. For example in ASP the code is compiled as dll and "no one" can read it even if it has access to the server. And also in the dll I can include a protection that will prevent the code to work on another computer if someone copy all the files from the server. One of the tools that I found to do this is "Zend Guard" (http://www.encodercompare.com/zend_guard) that provides even protection for reverse engineering but $1000 for annual subscription is way too expensive for me. All I need is to prevent someone with ftp access to the server to copy all the files from it and put them on another server (unlicensed use and redistribution). Any recommendation ? Thank you Quote Link to comment https://forums.phpfreaks.com/topic/46230-is-there-a-way-to-protect-the-a-php-site-from-being-copied/#findComment-226329 Share on other sites More sharing options...
john010117 Posted April 10, 2007 Share Posted April 10, 2007 Why would you give FTP access to that user in the first place? Quote Link to comment https://forums.phpfreaks.com/topic/46230-is-there-a-way-to-protect-the-a-php-site-from-being-copied/#findComment-226334 Share on other sites More sharing options...
btherl Posted April 11, 2007 Share Posted April 11, 2007 You get what you pay for. There's plenty of other, cheaper obfuscators on listed on that site. If the administrator of the site is not an experienced programmer, then simple obfuscation will be enough to stop him using your code. It takes quite some skill to convert obfuscated code back into something useable. Quote Link to comment https://forums.phpfreaks.com/topic/46230-is-there-a-way-to-protect-the-a-php-site-from-being-copied/#findComment-226436 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.