Base64_encode

SpaceshipSpaceship
Watch

NetworkTown.Net

Account Closed
Impact
2
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?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
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.
 
0
•••
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.
 
0
•••
Thanks for the tips ill see what i can do.
 
0
•••
Appraise.net

We're social

Spaceship
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back