Paghilom Posted March 7, 2009 Share Posted March 7, 2009 is it possible to encrypt my HTML document or even better obfuscate it. any means to make my site harder to debug by others.. thanks.. Quote Link to comment https://forums.phpfreaks.com/topic/148366-html-encryption/ Share on other sites More sharing options...
jackpf Posted March 7, 2009 Share Posted March 7, 2009 You can try this which uses Javascript to display the page. Quote Link to comment https://forums.phpfreaks.com/topic/148366-html-encryption/#findComment-778949 Share on other sites More sharing options...
haku Posted March 8, 2009 Share Posted March 8, 2009 Even using that, it still gets unencrypted on the user side when it is fed to the browser. Anyone with the web developer toolbar or a few other tools can read the HTML from the browser. Quote Link to comment https://forums.phpfreaks.com/topic/148366-html-encryption/#findComment-779534 Share on other sites More sharing options...
jackpf Posted March 8, 2009 Share Posted March 8, 2009 Yeah...I personally wouldn't use it because it'd be slow as. I think you can get programs which do it properly but they cost money. Quote Link to comment https://forums.phpfreaks.com/topic/148366-html-encryption/#findComment-779540 Share on other sites More sharing options...
haku Posted March 8, 2009 Share Posted March 8, 2009 I agree, it would be ridiculously slow on a page. And really, any method is going to require de-encryption for the browser to be able to read it, and therefore there isn't really any particularly secure method. Quote Link to comment https://forums.phpfreaks.com/topic/148366-html-encryption/#findComment-779562 Share on other sites More sharing options...
Mchl Posted March 8, 2009 Share Posted March 8, 2009 Anyway... what kind of advanced HTML coding you use, that you want to protect your code that badly? Quote Link to comment https://forums.phpfreaks.com/topic/148366-html-encryption/#findComment-779572 Share on other sites More sharing options...
jackpf Posted March 8, 2009 Share Posted March 8, 2009 Well...he actually stated he wanted to do it to make it "harder to debug by others." Do you mean steal? If someone decided to "debug" my website for me, I'd personally be quite grateful Quote Link to comment https://forums.phpfreaks.com/topic/148366-html-encryption/#findComment-779673 Share on other sites More sharing options...
svivian Posted March 8, 2009 Share Posted March 8, 2009 If you don't want someone to take your content or code then don't put it on the internet! That's the simple truth. As others said, your code has to be read and interpreted by browsers in order to display it to the user, that's how the internet works. Quote Link to comment https://forums.phpfreaks.com/topic/148366-html-encryption/#findComment-779986 Share on other sites More sharing options...
Maq Posted March 9, 2009 Share Posted March 9, 2009 Well...he actually stated he wanted to do it to make it "harder to debug by others." Do you mean steal? If someone decided to "debug" my website for me, I'd personally be quite grateful Hehe, same here. OP, maybe if you explain exactly what you're trying to do and accomplish we can suggest a better solution. Quote Link to comment https://forums.phpfreaks.com/topic/148366-html-encryption/#findComment-780050 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.