How to protect the html source code of the page

Discussion in 'HTML & Website Design' started by mickscool, Oct 7, 2007.

  1. #1
    Hi Friends,
    I would like to protect the source of some of my webpages and thinking to use one of these softwares:

    http://www.mtopsoft.com/encryptpro/index.htm
    http://www.antssoft.com/htmlprotector/index.htm

    But reading on net,i see that people say there's no way to do this as the browser has to render the page source to display it.

    But no-one has mentioned how to do it.Say, if the page is encrypted using those softwares,how can it be decrypted and how hard it is to do that???

    Your help would be appreciated.
    Thanks
     
    mickscool, Oct 7, 2007 IP
  2. jamesicus

    jamesicus Peon

    Messages:
    477
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #2
    jamesicus, Oct 7, 2007 IP
  3. mickscool

    mickscool Active Member

    Messages:
    373
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #3
    OK,here are some workarounds i got for other people:

    Any encrypted page can be decrypted using FF Dom Inspector or if you save using NS 7.0,it saves the decrypted page.But since those softwares use iFrames and they re-direct users of Netscape 7.0 or Firefox to I.E,there is no way one can use NetScape 7.0 browser to save the decrypted page or use Firefox's Dom inspector...

    So,the only tool that does it easily is the IE Dom Inspector...

    HTH
     
    mickscool, Oct 7, 2007 IP
  4. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #4
    I HIGHLY recommend against any of these so called 'encrypting' programs - MOST of them have stuff before the doctype throwing IE into quirks mode, all of them rely on javascript meaning non-js user agents get nothing, all of them usually result in slow pageloads and bloated filesizes (20k HTML suddenly becomes 160k or more), they don't 'protect' anything since anyone determined can reverse engineeer them in minutes... etc, etc, etc..

    It's a waste of time, money and it's for the most part utter bull.

    Especially since the Opera DOM Snapshot dodges the bullet quite handily.
     
    deathshadow, Oct 7, 2007 IP
  5. artflutter

    artflutter Member

    Messages:
    49
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #5
    If your site is coded in PHP or using a database as the back end it doesn't matter if they can see the source code because they still wont be able to rip your site off.
    If the source code was truly hidden how would web browsers be able to view sites?
     
    artflutter, Oct 7, 2007 IP
  6. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #6
    soulscratch, Oct 10, 2007 IP
  7. riya_senk

    riya_senk Well-Known Member

    Messages:
    2,014
    Likes Received:
    174
    Best Answers:
    0
    Trophy Points:
    160
    #7
    Well, There is NO way to protect HTML code as its browser sided however you can some codes which can protect atleast from the persons who do not have much knowledge about HTML and Javascripts like disabling right click, encoding html using javascript two/three times, adding code that clear clipboard continuously etc
    This is source page :D http://www.drpeterjones.com/hidden/x.html
     
    riya_senk, Oct 10, 2007 IP
  8. ng51online

    ng51online Peon

    Messages:
    74
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Can you not just exturnalise the important bits? like then block access to the images and other directories?
     
    ng51online, Oct 10, 2007 IP
  9. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #9
    Yep. It wasn't the other 3 (excluding hidden.html) pages.
     
    soulscratch, Oct 10, 2007 IP
  10. jamesicus

    jamesicus Peon

    Messages:
    477
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Yes, per your PM, you did -- congratulations!

    James
     
    jamesicus, Oct 10, 2007 IP
  11. ecreate

    ecreate Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    It's impossible to hide your HTML/JS from anyone who knows what they're doing, not to mention incredibly unprofessional.
     
    ecreate, Oct 10, 2007 IP
  12. JeddahBikers

    JeddahBikers Guest

    Messages:
    305
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I AGREE

    My Regards,
     
    JeddahBikers, Oct 10, 2007 IP