Forum Moderators: open

Message Too Old, No Replies

How to disable "view source" option

Best ways to try and prevent content hijacking

         

johnnydequino

5:22 pm on Oct 16, 2003 (gmt 0)

10+ Year Member



I am looking for the best ways to try and prevent my content from getting stolen.

I have already disabled the right click function.

I would love to disable alt C and the view source option. Is this possible?

I know the website still can get copied, but at least this would stop most of the copiers.

jd

Farix

12:27 pm on Oct 20, 2003 (gmt 0)

10+ Year Member



There is a problem with that last analogy. The padlock on a door of a building is several orders of magnitude more secure then disabling the right-click. But it is like the tiny padlock on softside luggage, more symbolic then practical.

Dreamquick

12:46 pm on Oct 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There is a problem with that last analogy. The padlock on a door of a building is several orders of magnitude more secure then disabling the right-click. But it is like the tiny padlock on softside luggage, more symbolic then practical.

I'd say it's more like having a "BEWARE OF THE DOG" sign when you don't even own one ... it will scare off an newbie but it won't even stop an amature - let alone a professional.

The thing that's been repeatedly pointed out is that professional content scrapers don't use their browsers to steal content - they just use an application that just requests & stores your pages ... javascript won't stop this because it's not even going to be executed if they use this technique.

On page javascript will only affect people that use a browser to view that content, which most of the time is a regular user.

- Tony

Mark_A

1:30 pm on Oct 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



the right click thing irritates the heck out of me, there is only one site who uses it and whose contents are so good that I tolerate it.

I know why he puts it there because there are real idiots in that market copying stuff all over the place with no idea of what copyright is or means.

Anyhow someone copied your site.

There is a guy in London whose site was copied and some of his unique code fragments were included in the copied site charachter for charachter. The copier was in the US but that did not stop said intrepid individual who persued them in law and in media.

Eventual result, legal vindication and significant publicity for intrepid individual.

If its worth it to you then go after them, if not keep ahead of them or whatever.

just some thoughts for you.

too much information

1:32 pm on Oct 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It's funny to me how this right-click thing always turns into an arguement.

The majority of 'regular' internet users don't have enough knowledge to bypass javascript, or even know exactly what javascript is. That's who I'm trying to block. It makes them follow the system as intended.

People who know how to get around javascript are usually smarter, understand the point of the sites and typically are not the kind to try to rip me off.

I don't really care about someone stealing my HTML. I code my sites with ASP and the dynamic content on the site would make it tough for someone to rip off the entire site.

As far as the original topic, I don't think there is a way to completely disable 'view source' but heavy crosslinking of your pages and using the full address in your links will make more work for anyone trying to rip you off.

PatrickDeese

8:14 pm on Oct 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The JS right click disable is not "a padlock on a shed" - It is like a magazine with pages that are harder than average to tear out. Along comes someone with a pocket knife, and away goes your "protection".

Make your site more usuable and useful not less so.

People steal images from my website all the time. I send them a C&D, and usually they comply within 24 hours. The *very* few (2 out of 18) that have not complied were forced to comply by their hosting companies.

The end.

Disabling the right click would have stopped, oh let's go out on a limb and say.... none of them. In most cases their own website designers lifted the images, in other cases they did it themselves because they were their own webmasters.

Farix

11:04 pm on Oct 20, 2003 (gmt 0)

10+ Year Member



The majority of 'regular' internet users don't have enough knowledge to bypass javascript, or even know exactly what javascript is. That's who I'm trying to block. It makes them follow the system as intended.

And are probably the least likely to steal your content. So you are you really protecting your content from by disabling the right click?

cyclone

2:15 am on Oct 21, 2003 (gmt 0)

10+ Year Member



how can someone stealing source by disabling right click? it's just plain annoying, when i go to some shopping sites, they disable right click, i can just go to edit and do whatever i want, all the things in right click are all on the menu, right click are just shortcuts.... as for the analogy, there is plenty of things out there don't really mean anything but is just a state of mind.. some ppl feel safer knowing that they at least TRY to protect the stuff they try to hide, nothing can stop a really dedicate thieve from stealing your stuff, especially true on internet, it's a free medium, hello? it is intended that way, once u put it out, there is always ppl who wants it, and they can get it easily.. you are just annoying those ppl who just want to see wat you have to offer..

cyclone

2:16 am on Oct 21, 2003 (gmt 0)

10+ Year Member



ops, a mistake on the first sentance... should be:

"how can someone stealing source by using right click?"

instead of:

"how can someone stealing source by disabling right click?"

BergtheRed

5:22 am on Oct 21, 2003 (gmt 0)

10+ Year Member



hummm ... o.k. --y`all don't like the padlock on the shed analogy. how about a "mailbox" analogy. most people who don't live in apartment buildings have an "un-secured" mailbox their mail is delivered in. suppose somebody came along and opened you mailbox and started reading your mail. maybe took some letters. maybe some checks. since that mailbox isn't secured or anything and is sitting "right out there in the open" --that makes it fair game right? ...

Farix

12:34 pm on Oct 21, 2003 (gmt 0)

10+ Year Member



*sigh* Again, you are severely overrating the "security" that disabling the right click offers -- which is none at all.

DrDoc

8:08 pm on Oct 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hmm, disabling view source, disabling right-click... I think we've had these discussions about a million times now, eh?

Anyway, here's the method that comes closer than anything else...

Tools needed:

  • Notepad
  • C++ compiler

    1) Write a browser in C++ and come up with a unique user agent string (note that the string should only be passed to the server if the requested URL matches that of your page)
    2) Compile code
    3) Use .htaccess to deny access to the page to everyone, unless they are using your browser.
    4) Disallowed user agents are taken to a page informing them about the need to download your browser before viewing the page
    5) Done! You're protected! (Well, at least until someone reverse engineers your browser and fakes your user agent; or, until someone sets up a little nifty program monitoring the memory, and thereby saves your source code)

  • victor

    9:13 pm on Oct 21, 2003 (gmt 0)

    WebmasterWorld Senior Member 10+ Year Member



    least until someone reverse engineers your browser

    You wouldn't make it that easy! Don't send raw HTML, not even encrypted HTML:
  • Devise your own protocol that is hard to translate back into HTML because it works on completely different principles (Like our own personalised Flash language)
  • Send the assembler instructions to draw the screen at a low level
  • Disable all trace and interupt instructions on the machine you are running on to deter reverse-engineering.
  • Insist on product activation so you know who your users are by name, and customise the browser to each. If someone copies your browser, you'll know who it was AND it won't run on a different machine.
  • Issue special goggles so you pages can only be read by people with the right eyeware

    Then you can start thinking about resting.

  • g1smd

    9:19 pm on Oct 21, 2003 (gmt 0)

    WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



    You been reading Bill Gates' business plan for the next version of Windows?

    Jeez. Yet another scoop first published on webmasterworld.

    mbennie

    7:44 am on Oct 22, 2003 (gmt 0)

    10+ Year Member



    Disable Right Click?

    Ugh.

    Usually suggested by whiners who are in the wrong business to begin with.

    The Internet is about disseminating information. You can disable, encrypt and do anything else you like. If somebody wants to display whatever it is you have, they can.

    Calm down, take a prozac and relax.

    My company is developing a site for a local professional who is in a business we know little about. While researching his site my designer looked at lots of other sites for others in his business. She didn't steal any pix, content, code or anything else - just went surfing for ideas.

    As she got a feel for the other sites and how they are structured, she began to put a layout together. At some point she copied and pasted a little text which was something like:

    call me
    (888) phone-number-here

    or send me an email
    email.address.here

    She copied and pasted the text just as a time saver because it was laid out the way she wanted it and she needed to fill the space with some dummy content as she progressed.

    3 days later I got 6 threatening emails from someone alleging that was her telephone number and the phrase 'call me or send me an email' was her copyrighted material.

    Mind you, this was nothing more than a snippet with some dummy contact info. It was plugged into a beta copy of a completely custom and professionally designed website built specifically by us.

    On another occasion I had somebody alleging copyright infringements because we had a 4 word phrase buried in a page full of text that matched a phrase on his site.

    While I certainly feel sorry for people who have an entire site copied, I think this is very rare. My experience has shown that most people thing that any little thing they place on their page has to be theirs and nobody else has a right to any word or phrase that they print.

    I'll stick with that position until my copyright is granted for 0's, 1's and vowels. Then you'll all owe me ALOT of money.

    MB

    BergtheRed

    9:01 pm on Oct 22, 2003 (gmt 0)

    10+ Year Member



    Usually suggested by whiners who are in the wrong business to begin with.

    never paid for copyrighted images or code have you?

    everyone keeps whining about how everything on the internet is supposed to be their's free for the taking. the person wants to take some measure to help protect a few things ( or all ) of their site, and all they get is complaints about how that makes things so "annoying" and how it's some "great imposition" on them ...

    ... <sigh> and this is supposed to be a webmasters forum for web site designers and maintainers ...

    choster

    9:33 pm on Oct 22, 2003 (gmt 0)

    WebmasterWorld Senior Member 10+ Year Member



    BergtheRed, you're completely missing the point. Criticizing Javascript disabling of the right mouse button is in no way an invitation to intellectual property theft. It is criticism of using flimsy methods of protection that provide an utterly false sense of security at the price of inconveniencing everyone else.

    Farix

    10:26 pm on Oct 22, 2003 (gmt 0)

    10+ Year Member



    never paid for copyrighted images or code have you?

    Irrelevant. And yes, I have hand text and images I created stolen before. It taught me a valuable lesson about digital watermarks.

    everyone keeps whining about how everything on the internet is supposed to be their's free for the taking.

    That is the nature of the web and HTML. If you don't what people getting ahold of it, you shouldn't put it out.

    Besides, you cannot copyright HTML "code," which is more accurately called markup. Only the text that is displayed through the markup and the images. And both of those are displayed no matter what. Otherwise, you don't have a website.

    Choster is correct in saying that disabling the right-click gives you a false sense of security. You are protecting your website from no one and annoying the "power surfers" while you are at it.

    PatrickDeese

    11:42 pm on Oct 22, 2003 (gmt 0)

    WebmasterWorld Senior Member 10+ Year Member



    > never paid for copyrighted images or code have you?

    I sell prints of my photographs and license them in a very particular instances. A major California newspaper used one recently.

    I don't sell and licence the photos as my "real" business, it is a sideline. It only makes about $900 - $1200 per year.

    It irritates me when people take my images and put them on their website. That is why I use Digimarc. I can very easily prove that they were taken from my site that way.

    If were to look for ways to disable people from taking the images, I would have to ban G's ImageBot too.

    Considering the amount of daily visitors my site has, I don't think that 18 instances of copyright infringement in 3 1/2 years is so bad.

    Generally, I have better things to do than look for infringers. But when I find them, I let the hammer drop.

    BergtheRed

    4:27 am on Oct 23, 2003 (gmt 0)

    10+ Year Member



    Besides, you cannot copyright HTML "code," which is more accurately called markup. Only the text that is displayed through the markup and the images. And both of those are displayed no matter what. Otherwise, you don't have a website.

    Farix: i've been doing HTML and web pages on and off, here and there since around `96-`97, taken a few classes through the HTML Writers Guild, was actually a dues paying member of said organization --so you can probably save the condescending attitude for somebody else. i do happen to know what the "M" and the "L" that come after the "HT" stand for. i was referring to javascript code which you purchase ...

    Mark_A

    5:44 am on Oct 23, 2003 (gmt 0)

    WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



    Patrick I think I am going to start to ban the image bots anyhow they are starting to be too intrusive and there are those that use them for theft reasons.

    BjarneDM

    8:30 am on Oct 23, 2003 (gmt 0)

    10+ Year Member



    Disabling right-click seriously inconveniences me in certain circumstances.

    I'm Using Mozilla with the linky and textlink extensions.
    Linky gives you the ability to eg open all links on a page in new windows or tabs.
    Textlink gives you the ability to select a piece of text that hasn't been marked as such and treat is a link.
    Both of these are!only! available in the context-menu.

    Luckily, I also install MultiZilla, and from there it's simple to just disable javascript for the few moments I need to do my stuff.

    Being on a Mac, I sometimes!need! to hack some webpages in order to access content that they!do! want me to be able to access. Windows Media Player doesn't play nicely with any other browser than IE-win so in order to access WMP embedded content, I have to get hold of the URL from the html source and insert it directly into WMP.

    Pictures are!very! easy to get hold of. At the very least you can!always! resort to taking screen-dumps and paste these together if no other option is available to you.

    That said, I'm myself using right-click disabling,!but! only for pictures - never for the page itself. And I'm very well aware that it's only a temporary stop-gap that won't at all inconvenience anybody but the complete novice - which is also the person that my right-click disabling is directed at.

    jakob77

    4:52 pm on Oct 24, 2003 (gmt 0)

    10+ Year Member



    idiot. sorry.

    html is a markip language and not anything intelligent that needs to be protected.

    it is like protecting the fonts combination on a word document.

    shaadi

    9:33 am on Oct 27, 2003 (gmt 0)

    10+ Year Member



    oncontextmenu="return false" onselectstart="return false" ondragstart="return false"

    Insert the above code in your body tag. Hope that helps.

    dynasyn

    7:36 am on Dec 5, 2003 (gmt 0)


    I have a great way to protect your entire site. In the past I have written a small PHP script that will basically forward requests to the correct page. Links in your site will go to that PHP code and look like:

    http://www.mysite.com/forward.php?page=home.html or
    /forward.php?page=home.html

    When a user clicks on it, the php script basically forwards the user to the home.html page on your site. Now the page stealer can copy your entire site, but the links WON'T work unless they have the PHP script to make it work - which they can't copy without FTP access.

    You could take this approach one step further with a MySQL database. You assign a unique ID to each page so now your link looks like:

    http://www.mysite.com/forward.php?page=grioqmnlasg

    The PHP script looks up the page ID from the database then forwards to the correct page. A person might be able to copy the pages and create a PHP script to forward the requests, but they would NEVER have your database so now they actually have to work to steal your site.

    Since most content stealers use software to copy and publish and rarely look at the results unless a problem arises, then seeing all the work to make the links work will most likely make them dump it and steal someone elses site.

    If anyone is interested in how to make this work you can visit my web site at [url]http://www.shanelambert.com[/url]. The site has instructions on how to set this up and even the code you need to make it work!

    R1chard

    11:41 am on Dec 5, 2003 (gmt 0)

    10+ Year Member



    I'll agree with everybody else that I never return to sites that use a Javascript disable. Suppose you want to use Mozilla's "Websearch for highlighted text" option?

    Anyway, if you're a code thief, you don't even need to right-click. You can get the context menu by pressing Shift+F10.

    Oh, and of course, there is no way to disable Ctrl+U... Just give up on protecting your code, and consider a registration before they can enter/view.

    divaone

    1:54 pm on Dec 5, 2003 (gmt 0)

    10+ Year Member



    Jumping in here.. one thing not mentioned (or I missed it) is something we techie folks tend to overlook...

    Pen and Paper

    Post a poem to the web and any child with these low-tech tools can copy your content. If you don't want it copied, never ever for any reason place it in print.

    That said :) there is a program called HTML Protect that can do the following:

    • disable right click
    • disable screen capture
    • disable print
    • add copyright
    • encrypt coding (two styles of encryption)
    • add meta for image toolbar
    • add meta for immediate page expire
    • add meta for no page caching
    • etc. etc. etc.

    I do recommend using these fancy schmancy options sparingly and do much testing before a page/site goes live.

    DrDoc

    5:14 pm on Dec 5, 2003 (gmt 0)

    WebmasterWorld Senior Member 10+ Year Member



    disable right click

    disable screen capture

    disable print

    There's no way you can disable that -- period. And even if you could, that still wouldn't protect your content.

    Reflection

    5:52 pm on Dec 5, 2003 (gmt 0)

    10+ Year Member



    I'll agree with everybody else that I never return to sites that use a Javascript disable

    Same here, I use Mozilla with mouse gestures which are activated by right clicking.

    keyplyr

    5:57 pm on Dec 5, 2003 (gmt 0)

    WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month




    disable right click
    disable screen capture

    disable print

    There's no way you can disable that -- period. And even if you could, that still wouldn't protect your content.


    Sure there is. Check out blackplanet dot com.

    photon

    6:54 pm on Dec 5, 2003 (gmt 0)

    WebmasterWorld Senior Member 10+ Year Member



    Funny--right click in Opera worked no problem.

    <added>
    Actually, no problem in IE either.

    [edited by: photon at 6:55 pm (utc) on Dec. 5, 2003]

    This 79 message thread spans 3 pages: 79