Kevin Castro Posted August 29, 2015 Share Posted August 29, 2015 I'm developing a website for an organization,i want to encrypt my source code when i see in webpage..could you tell anyone how to do it? Thank you in advance, Link to comment Share on other sites More sharing options...
COBOLdinosaur Posted August 29, 2015 Share Posted August 29, 2015 If it is encrypted, how is the browser supposed to parse it an interpret it? The browser would need to have the encryption key and if that is the case, then it is available to the user. If you think your source code is so unique and special (I guarantee you it is not) then you should not be puttinging it on a web page because no matter what you do it has to be readable for the browser, and that means it will be no challenge to anyone who wants to read. The only way to be certain no one can see your code is to lock it in a metal box weld the box closed and bury it at the drop it in the deepest part of the ocean. If the code if for an app then you should be writing it in an application language like c and then comiling it. that will at least make it a little mor difficult to de-compile; but on a web page there are no secrets. Link to comment Share on other sites More sharing options...
justsomeguy Posted August 31, 2015 Share Posted August 31, 2015 If you want to encrypt your PHP code then look into Zend Guard or Ioncube Loader, although the web server will need to support it also so it can decrypt the code before sending it to PHP to execute. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now