sarahAria Posted October 16, 2008 Share Posted October 16, 2008 hi guys I want to prtect my php source code an I need encryption but just one or 2 pages and I also don't want to change my php settings for each server like what some encoders applications do can you plz help me and also not as easy crackable methods like base64 Quote Link to comment https://forums.phpfreaks.com/topic/128726-how-to-protect-my-php-script/ Share on other sites More sharing options...
Chicken Little Posted October 16, 2008 Share Posted October 16, 2008 You could store the code outside of the document root and add an include to the public page. Quote Link to comment https://forums.phpfreaks.com/topic/128726-how-to-protect-my-php-script/#findComment-667270 Share on other sites More sharing options...
haku Posted October 17, 2008 Share Posted October 17, 2008 If you are talking about people seeing your php code from their browser - you have no worries. People can't see the php source code. If you are worried about someone getting on your server, you have a lot bigger problems than protecting your source code! If you are wanting to sell your code and don't want the customer to be able to see the code, well then Zend Guard does some good encryption of your code. I've heard it's crackable, but it's not easy. Quote Link to comment https://forums.phpfreaks.com/topic/128726-how-to-protect-my-php-script/#findComment-667644 Share on other sites More sharing options...
GKWelding Posted October 17, 2008 Share Posted October 17, 2008 Zend is pretty crackable yes, however, if you're looking to secure your source code for resale I'd use something like ioncube instead, as far as I know this hasn't been cracked yet. And yes, if you're worried about people just browsing your php source code from their web browser don't be. It's not possible. They can see the HTML output by the PHP code but not the underlying PHP code, the server just wont allow it. Quote Link to comment https://forums.phpfreaks.com/topic/128726-how-to-protect-my-php-script/#findComment-667811 Share on other sites More sharing options...
sarahAria Posted October 18, 2008 Author Share Posted October 18, 2008 I want something like zend but zend needs to change sme php settings, is there something like that I don't need it to be very uncrackable just something moderate cause I have some preety nice law protection thanks Quote Link to comment https://forums.phpfreaks.com/topic/128726-how-to-protect-my-php-script/#findComment-668707 Share on other sites More sharing options...
xylex Posted October 18, 2008 Share Posted October 18, 2008 Ioncube's been cracked too, there's plenty of those out there. But as the OP didn't ask for something bulletproof, it's probably best for his purposes. Zend encoded files require some server configuration like he pointed out, Ioncube can be packaged and distributed to work without making changes to php.ini. Quote Link to comment https://forums.phpfreaks.com/topic/128726-how-to-protect-my-php-script/#findComment-668731 Share on other sites More sharing options...
sarahAria Posted October 18, 2008 Author Share Posted October 18, 2008 is there a free one too? Quote Link to comment https://forums.phpfreaks.com/topic/128726-how-to-protect-my-php-script/#findComment-668751 Share on other sites More sharing options...
sarahAria Posted October 21, 2008 Author Share Posted October 21, 2008 no solution?? Quote Link to comment https://forums.phpfreaks.com/topic/128726-how-to-protect-my-php-script/#findComment-670812 Share on other sites More sharing options...
djbuddhi Posted October 22, 2008 Share Posted October 22, 2008 yes u can .search for php encoders .it can encrypt ur code while using a public key .if someone open the code ,no one can modified it because the characters have changed now its available on iternet Quote Link to comment https://forums.phpfreaks.com/topic/128726-how-to-protect-my-php-script/#findComment-671502 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.