Html And Source Code Protection

Discussion in 'HTML & Website Design' started by Pak Community, Mar 2, 2006.

  1. #1
    I want to prtect my website from java and html source codes stealers and also want to protect my images, can any one help me, i need any free way.
     
    Pak Community, Mar 2, 2006 IP
  2. casper

    casper Guest

    Messages:
    181
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can't really protect HTML since it is a client-side markup language and the webpage must be downloaded to the visitors' HD in order for them to read the page. There are some products that claim to encrypt the HTML file, however they just encode it with some simple javascript.
     
    casper, Mar 3, 2006 IP
  3. hooperman

    hooperman Well-Known Member

    Messages:
    646
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    108
    #3
    You could watermark your images, but then that spoils it for your legit viewers. Putting the images in flash would stop people saving them to their pc, but they could still take a screenshot.
     
    hooperman, Mar 3, 2006 IP
  4. advancescripts

    advancescripts Peon

    Messages:
    270
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    you can also use the flash slide show, or flash to protect the image
     
    advancescripts, Mar 3, 2006 IP
  5. Jowan Pasco

    Jowan Pasco Peon

    Messages:
    38
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    There's just no reliable way to do it, and any attemps are not worth the pain and time. No matter what you try, someone with enough resolve will be able to decode it.
     
    Jowan Pasco, Mar 3, 2006 IP
  6. Dalamar

    Dalamar Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    There is absolutely! no way to stop someone from viewing your source code
     
    Dalamar, Mar 31, 2006 IP
  7. fit

    fit Peon

    Messages:
    420
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Dont do that.
    Because if someone really wants your code,
    he'll get it.

    I could open it in some programs and I see all !

    :D
     
    fit, Apr 2, 2006 IP
  8. the_pm

    the_pm Peon

    Messages:
    332
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Not to mention, any Flash decompiler could easily restore those images back to their original, independent form.

    Oops, I mentioned it :)
     
    the_pm, Apr 2, 2006 IP
  9. mdvaden

    mdvaden Active Member

    Messages:
    465
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #9
    Plus, what code do you really have that's like some new thing under the sun anyway.

    Not to mention that many of us can find 99% of most anything "cool" on a multitude of websites - even offered up for grabs.
     
    mdvaden, Apr 2, 2006 IP
  10. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #10
    i steal designs from apple all the time
     
    Dekker, Apr 2, 2006 IP
  11. brian394

    brian394 Well-Known Member

    Messages:
    226
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    108
    #11
    Althought you can't really hide your code, the next best thing you can do is obfuscate it (also sometimes erronously called encrypting or encoding it) using a online tool. Determined people will still be able to get at it (after a lot of time and effort), but it will still prevent the general public from seeing your code. Here are few examples...

    HTML Page Encoder for HTML or
    Javascript Encoder for Javascript

    As for protecting your images, there are a few things you can do...

    1. Install a "no-right click" script.
    2. Use CSS to position a transparent gif (of the same exact size) over your image.
    3. Use the image as the background of a table.
    4. Use javascript to swap out the current image with that of an empty (transparent) image when the user presses the right mouse button.
    5. Wrap your image inside of a PHP script and check the Referer header to see if the request for the image is coming from your site (to prevent hotlinking).
     
    brian394, Apr 9, 2006 IP
  12. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #12
    all easily beated by using firefox's view page info window.
     
    Dekker, Apr 9, 2006 IP
  13. the_pm

    the_pm Peon

    Messages:
    332
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #13
    That's a great idea. This way, about 10% of your audience will automatically be prevented from seeing your site, and search engines will ignore you.

    Besides, no one will ever think to press the Print Screen button, or dig images out of their temp folders.

    Seriously though, if you have something you don't want stolen, don't post it online. That's all there is to it. It only takes one person to steal it for it to be gone.
     
    the_pm, Apr 9, 2006 IP