Innovative Posted July 22, 2008 Posted July 22, 2008 Is is possible (and i know it is possible because i saw a program "HTMLGUARDIAN" doing that) to encrypt the source of a HTML file and make it almost unreadable by humans but still readable by the web browser?
nobbe Posted July 22, 2008 Posted July 22, 2008 you can add some javascript which will decode the code to html.. but still - all those "encrypters" will still somewhere produce html code whis usually still can be displayed with "view source" after the page has loaded in the browser.
Innovative Posted July 22, 2008 Author Posted July 22, 2008 But HTMLGUARDIAN that i once saw made the encrypted source NOT SHOWING (might as well say it's showing but a human cant understand) even in VIEW SOURCE .
Richard Robertson Posted July 22, 2008 Posted July 22, 2008 I made a thing a while back that did something like this. I'll see if I can find it. I'll look later, the server is being too slow right now.
Richard Robertson Posted July 22, 2008 Posted July 22, 2008 Ah, the server is working again.http://www.autoitscript.com/forum/index.php?showtopic=53649There were some suggested improvements, so you may want to look at those too.
Innovative Posted July 23, 2008 Author Posted July 23, 2008 That's awesome.. But i tested encrpyting <?php echo 'test'; ?> But it's not getting anything on the browser.
Innovative Posted July 23, 2008 Author Posted July 23, 2008 (edited) That's not HTML... That's PHP muttleySince i know how to write that script , of course i know that's php =.= How can i encrypt php too ? Edited July 23, 2008 by xVivoCity
Richard Robertson Posted July 23, 2008 Posted July 23, 2008 You can't encrypt PHP because the server has to read a plaintext file. The browser doesn't see the PHP code, the server is the only one to touch it (when configured correctly).
James Posted July 23, 2008 Posted July 23, 2008 Since i know how to write that script , of course i know that's php =.=Then of course you would know that it is server side. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
cppman Posted July 23, 2008 Posted July 23, 2008 (edited) Is is possible (and i know it is possible because i saw a program "HTMLGUARDIAN" doing that) to encrypt the source of a HTML file and make it almost unreadable by humans but still readable by the web browser?The simple answer is, if the browser can read it, so can the user. There is no way to "encrypt" an HTML page so that the user can't view the source. (Yes, you can use javascript, but you still have the source.) On another note, there really shouldn't be any reason to encrypt your HTML source. If you store sensitive information in the HTML (or any other user-accessible file), then you probably shouldn't be writing websites. muttley Edited July 23, 2008 by cppman Miva OS Project
nobbe Posted July 24, 2008 Posted July 24, 2008 (edited) the regular ways of attaching to an open IE window.. $oIE = _IEAttach($title) $my_text = _IEBodyReadHTML($oIE) MsgBox(0, "", $my_text); Edited July 24, 2008 by nobbe
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