View previous topic :: View next topic |
Author |
Message |
svankamon -
Joined: 01 Apr 2007 Posts: 148 Location: Chesterfield UK
|
Posted: Thu Sep 20, 2007 6:26 pm Post subject: Password Protect And Encrypt |
|
|
Hi, im aware there are guys out there who can get into anything that is protected etc, but i still want to protect and encryp files on my server.
Theres a program called HTML Lock that sorts out the html side of things but this program doesnt protect php. Shame, it seems great. It does everything i want it to do except protect the php files. Is anyone aware or know of a piece of software that will do the same job or there abouts as HTML Password Lock to my PHP scripts.???
Thanks for any assistance. |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Thu Sep 20, 2007 11:51 pm Post subject: |
|
|
You can't protect HTML code (You can only use JavaScript to hide it), and PHP code isn't shown in the browser (If it was, I wouldn't be using it). You could use a software to encrypt the source code of the local PHP files, but that's a little expensive. Another option is to use a software called PHP Obfuscator. (A nice layer of protection, but not the best).
Check this site out for encoder comparisons! (ionCube is recommended)
http://www.encodercompare.com/ |
|
Back to top |
|
 |
rrinc -
Joined: 24 Feb 2006 Posts: 725 Location: Arkansas, USA
|
Posted: Fri Sep 21, 2007 1:05 am Post subject: |
|
|
Unless you have some really secret code or something, there's no reason to encode or obfuscate it. I personally don't do it, and it can be reversed (not easily, but nonetheless). Like TRUSTAbyss said, PHP code isn't sent to the browser. Only the resulting output from the script is sent. _________________ -Blake | New Server :D
SaveTheInternet
Soy hispanohablante. Puedes contactarme por mensajes privados. |
|
Back to top |
|
 |
svankamon -
Joined: 01 Apr 2007 Posts: 148 Location: Chesterfield UK
|
Posted: Fri Sep 21, 2007 10:01 pm Post subject: Thanks |
|
|
Thanks, il check the site out. It just seems everything on the net revolves around protecting yourself from hackers. Cheers il check them out anyway. |
|
Back to top |
|
 |
|