Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 29
  1. #1
    New Coder
    Join Date
    Dec 2013
    Posts
    26
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Encoding the HTML in hex

    How to encode the html in HEX with a function on top of it?
    Attached Images Attached Images  

  • #2
    New Coder
    Join Date
    Dec 2013
    Posts
    26
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Im figuring out about hex since Ive been told it can help somehow to encrypt html code on mozilla

  • #3
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,678
    Thanks
    6
    Thanked 1,009 Times in 982 Posts
    You can’t encode HTML in hex and display it like that, it will only show hex code then. The most you can do is encode HTML in entities of which you have a character chart right here: http://www.ascii.cl/htmlcodes.htm These are all the characters you need and their respective HTML entities. I don’t know what you’re trying to achieve with that, though, since it can all easily be decrypted again.

  • #4
    New Coder
    Join Date
    Dec 2013
    Posts
    26
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by VIPStephan View Post
    since it can all easily be decrypted again.
    I want to surpass darny DOM inspector of mozilla
    well
    successfully

    thanks4 reading

  • #5
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,641
    Thanks
    0
    Thanked 649 Times in 639 Posts
    Quote Originally Posted by grish View Post
    I want to surpass darny DOM inspector of mozilla
    well
    successfully

    thanks4 reading
    All other browsers also have a DOM inspector - there are also dozens of other ways to obtain the decrypted source of a web page.

    To be able to encrypt it so that it can't be decrypted by a web browser you will need to serve it in a format other than HTML.

    The simplest such alternative I know of is a password protected PDF.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #6
    New Coder
    Join Date
    Dec 2013
    Posts
    26
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Please lovely brother o mine provide me with an example on how to do it with pdf,and if you can please name the name of the program that can encrypt an hml document,
    or...............

    PLEASE PLLEASE WAIT,OK?

    First you are telling me is not possible to encrypt an html document successfully because all browser have an automatic decryptor of html like DOM inspector isnt it_?

    What you tell me is possible is like translating the html document,in my case is html with javascript ,well then translating it to other language that cant be decrypted by DOM inspector,well is there a program that I can buy that can do it seemlessly ?,and if there
    isnt please tell me of some tutorials on how to do this and---which are the other formats?
    Please name them one by one with any reference of how to coonvert to that other format thank you very much

  • #7
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,641
    Thanks
    0
    Thanked 649 Times in 639 Posts
    Quote Originally Posted by grish View Post
    well then translating it to other language that cant be decrypted by DOM inspector
    If isn't decrypted by the DOM inspector. It is decrypted by the browser in order to display the page in the first place.

    To make it impossible to disp-lay the decrypted content using the DOM inspector you will need to use an encryption that cannot be decrypted to HTML and so cannot be accessed by the DOM inspector.

    One such format if your visitors have the Acrobat Reader Plugin attached to their browser is to use Adobe Acrobat Pro or Nitro PDF or a similar PDF writing program to create the document and use the encryption inside that to prevent anyone without the password from being able to access the source. Then your visitors can copy the entire file but they will not be able to print it or extract the content without doing screen captures and then OCR to convert back to text (unless they manage to crack the encryption).
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • Users who have thanked felgall for this post:

    grish (12-31-2013)

  • #8
    New Coder
    Join Date
    Dec 2013
    Posts
    26
    Thanks
    3
    Thanked 0 Times in 0 Posts
    yes honey yes,but the question is this

    Would the pdf thing allow my page which is an index.php that has html inside to be displayed in all browsers?.

    You said so...to the ones that have the plugin on mozilla“s addons,but if they do not have no darni plugin ,then the freaking page just wont be displayed thru the www

    Thanks,are we?

  • #9
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,641
    Thanks
    0
    Thanked 649 Times in 639 Posts
    Quote Originally Posted by grish View Post
    yes honey yes,but the question is this

    Would the pdf thing allow my page which is an index.php that has html inside to be displayed in all browsers?.

    You said so...to the ones that have the plugin on mozilla“s addons,but if they do not have no darni plugin ,then the freaking page just wont be displayed thru the www

    Thanks,are we?
    Your page would be index.pdf. For the vast majority of visitors who have Adobe Reader installed the page would display in the browser. For those using a different PDF program it would either load inside the browser or load separately leaving the browser empty. Almost everyone has some kind of PDF reader available.

    There would be no HTML at all.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • Users who have thanked felgall for this post:

    grish (12-31-2013)

  • #10
    New Coder
    Join Date
    Dec 2013
    Posts
    26
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Thank you honey very much for taking the time to support me,first I would like to clear out
    the main and most important related issue of this thread:

    1-There is no way on planet earth as according to actual times of year 2014 ,where html
    cant be decrypted by every major browser on the world wide web.And every program that promises encryption is totally scam.From the prior the thing that makes html valuable even though its fully decrypted is the fact that it can be displayed on any type of browser on the internet surely connecting your business to a broader audience,

    .......is this true?


    Well dearest felgall wouldnt it be an easier bet to choose for encrypting my html code the most famous plugin on the face of the earth that is flash player?
    I guess that if what you say that can be accomplished with pdf,can be acomplished with flash player then it wouldnt be that bad bet dont you think?,if it can be so can you tell me which program to use in order to encrypt html with flash player and if you know of a tutorial to achieve this,please

    Thank you before hand felgall and a very happy 2014 for ya,and to all coderz here :-) !
    Last edited by grish; 12-29-2013 at 04:41 AM.

  • #11
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,641
    Thanks
    0
    Thanked 649 Times in 639 Posts
    Quote Originally Posted by grish View Post
    .......is this true?
    Yes - it has been true since web browsers were invented since their entire purpose is to decrypt HTML so as to display the content according to those instructions.


    Quote Originally Posted by grish View Post
    Well dearest felgall wouldnt it be an easier bet to choose for encrypting my html code the most famous plugin on the face of the earth that is flash player?
    PDF is the most commonly used plugin - that's why I suggested it.

    Also many new devices on which browsers run do not support Flash at all making it impossible to access a page that uses Flash in a growing percentage of cases. It would have been a practical alternative in 2004 but the percentage of browsers that cannot have a Flash plugin installed because the device does not allow Flash at all is now too big to ignore.

    One of the reasons for adding the <video> and <audio> tags in HTML5 is the growing number of browsers where Flash cannot be installed.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #12
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,302
    Thanks
    28
    Thanked 276 Times in 270 Posts
    Quote Originally Posted by grish View Post
    I guess that if what you say that can be accomplished with pdf,can be acomplished with flash player then it wouldnt be that bad bet dont you think?,if it can be so can you tell me which program to use in order to encrypt html with flash player and if you know of a tutorial to achieve this,please
    Flash applications are created with Flash Professional, a pay-to-use program by Adobe. You'll need to learn to use the Flash application and ActionScript; Flash isn't written using HTML.

    What are you trying to do? Prevent that image of a woman from being saved to someone's hard drive?
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • #13
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,641
    Thanks
    0
    Thanked 649 Times in 639 Posts
    Quote Originally Posted by Arbitrator View Post
    Flash applications are created with Flash Professional, a pay-to-use program by Adobe. You'll need to learn to use the Flash application and ActionScript; Flash isn't written using HTML.

    What are you trying to do? Prevent that image of a woman from being saved to someone's hard drive?
    Even if the page were to be created in Flash it wouldn't be able to be displayed on any platform where Flash is not supported at all eg. any Apple mobile product.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #14
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,302
    Thanks
    28
    Thanked 276 Times in 270 Posts
    Quote Originally Posted by felgall View Post
    Even if the page were to be created in Flash it wouldn't be able to be displayed on any platform where Flash is not supported at all eg. any Apple mobile product.
    That just means Apple product users won't be able to steal the image.

    More seriously, I figured this might be an opportunity to brush up on Flash skills were the case the one I described given that I haven't written a Flash application in years. Putting an image in a Flash file works as a deterrent too; it's rather tedious to have to take a screenshot and crop it to the image in Photoshop.

    Of course, there's the problem you mentioned. I'd imagine a more compatible deterrent would be to slice the image into multiple images one pixel in width or height and concatenate them with HTML and CSS. You'd have to use a figure element for it to semantically make sense, but it could work at the expense of time creating the strips and 96 HTTP requests for this particular image.
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • #15
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,641
    Thanks
    0
    Thanked 649 Times in 639 Posts
    Quote Originally Posted by Arbitrator View Post
    I'd imagine a more compatible deterrent would be to slice the image into multiple images one pixel in width or height and concatenate them with HTML and CSS. You'd have to use a figure element for it to semantically make sense, but it could work at the expense of time creating the strips and 96 HTTP requests for this particular image.
    Of course a screen capture of such an image could be done in about three mouse clicks and two seconds of time (well maybe slightly more than that but a small fraction of the amount of effort required to do that to the image in the first place).

    The browser zoom controls could even be used to make the image huge before capturing it so as to get the highest possible resolution.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •