NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page base64_encode

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 11-04-2006, 01:21 PM THREAD STARTER               #1 (permalink)
Account Closed
Join Date: Oct 2005
Location: United Kingdom
Posts: 1,554
NetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really nice
 



base64_encode


well i have one question is base64_encode secure ? i want to make a install.php page where it checks if the site is licenced then it will contine but by encoding it will stop people from removing the check put and installing so do you think it is secure if i use it?
NetworkTown.Net is offline  
Old 11-04-2006, 02:39 PM   #2 (permalink)
NamePros Member
Join Date: May 2006
Posts: 160
TwistMyArm is on a distinguished road
 



It is absolutely not secure. Your code still has to base64_decode it to run and there's no reason why the guy who runs the script can't do that himself. That is to say, take your base64_encode'd string, decode it himself then print it to screen or whatever.

If you want your script to be more secure, I would suggest using an encoder like ioncube and / or running an obfuscator over the code.
TwistMyArm is offline  
Old 11-05-2006, 01:52 AM   #3 (permalink)
NamePros Regular
 
beaver6813's Avatar
Join Date: May 2005
Location: England
Posts: 392
beaver6813 is a jewel in the roughbeaver6813 is a jewel in the roughbeaver6813 is a jewel in the rough
 




Yup what he said There is also Zend, and also a few other online services that will do all licensing for your script, check on google

You might also maybe want to use a callback feature, that way you would be able to encrypt a string using md5 then check it again when called back. This means that the customer wouldn't have access to the license decoder.
beaver6813 is offline  
Old 11-05-2006, 07:48 AM THREAD STARTER               #4 (permalink)
Account Closed
Join Date: Oct 2005
Location: United Kingdom
Posts: 1,554
NetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really nice
 



Thanks for the tips ill see what i can do.
NetworkTown.Net is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 03:14 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger