| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Account Closed Join Date: Oct 2005 Location: United Kingdom
Posts: 1,554
![]() ![]() ![]() ![]() | 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? |
| |
| | #2 (permalink) |
| NamePros Member Join Date: May 2006
Posts: 160
![]() | 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. |
| |
| | #3 (permalink) |
| NamePros Regular Join Date: May 2005 Location: England
Posts: 392
![]() ![]() ![]() | 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.com - Web Developer Extraordinaire! |
| |