SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict bimalpoudel's Avatar
    Join Date
    Feb 2009
    Location
    Kathmandu, Nepal
    Posts
    279
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Protecting website contents - "Anti copy" controls

    How to make a website show the contents readable to the visitor,
    while the text is entirely protected, no downloads, no copy/pasted, no saving, ..?

    All possible controls to take to protect the content.
    It could be somewhat similar to Google Books and Scribd:
    A combination of Javascript, PDF, images, Flash, ...

    Is there any tool for this? Or just; how to make it ourself?
    Bimal Poudel @ Sanjaal Framework over Smarty Template Engine
    ASKING INTERESTING QUESTIONS ON SITEPOINT FOURM

    Hire for coding support - PHP/MySQL

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,871
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by bimalpoudel View Post
    How to make a website show the contents readable to the visitor,
    while the text is entirely protected, no downloads, no copy/pasted, no saving,
    Can't be done.

    In order for the site to be readable to visitors their browser needs to first download a copy of everything to their computer. Once they have a copy there they don't need to copy/paste in order to be able to do whatever they want with the already downloaded and saved copy of your page.

    Anything you do to try to protect your page will block some visitor's legitimate access to the page (those who don't know how to override your block) driving them away. It will also encourage more idiots to steal your page because they think it is somehow clever that they know how to override whatever 'protection' you built in.

    Even obfuscating (sometimes incorrectly referred to as 'encrypting') the page source will not work as all that is needed to convert it back to readable HTML is a web browser (since the web browser needs to do that in order to display the page).

    The only way you can effectively protect your page from being copied is to enforce your copyright (in court if you get nowhere with the thief or their hosting provider).
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">


Tags for this Thread

Bookmarks

Posting Permissions

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