CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2001
    Location
    UK
    Posts
    308

    Disable coping content of webpage

    how to disable copying of the content from website.... i have disabled "right button menu" in webpage.. But user can still use, "Select All" or (Ctrl+A) and Copy (Ctrl+C) to copy the content....

    how do i avoid this??

    thanks in adv..
    Cheers
    VB
    Venu Bharadwaj
    "Dream it. U can do it!"

  2. #2
    Join Date
    Dec 2004
    Location
    Poland
    Posts
    1,165

    Re: Disable coping content of webpage

    JavaScript is useless here, it can be always disabled. I do not know any efficient way of preventing copying of webpage contents. Text might be always selected and copied, image may be saved and OCRed, flash movie clip may be retrieved from browser cache... no 100% sure way I heard of.

    Cheers
    B+!
    'There is no cat' - A. Einstein

    Use [code] [/code] tags!

    Did YOU share your photo with us at CG Members photo gallery ?

  3. #3
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125

    Re: Disable coping content of webpage

    any efficient way of preventing copying of webpage contents.
    The only effective way is to disable the user from retreiving the Web Page in the first place. But that usually has some negative side effects.
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured