Forum Moderators: open
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
The only way you can stop someone from rightclicking on your page, stealing your marvelous code, copy your extraordinary design -- or whatever it may be -- is to never ever publish the page on the Internet. If it's online and can be viewed, then everything else can be done as well.
You made a statement that 'view source' couldn't be disabled, and I'm saying that's not true - I'm sitting here looking at it.
This discussion is pointless.
There are at least two good reasons why the Protware HTML Guardian isn't any good.
1 - It stops spiders from crawling your site. So no Google listings for you!
2 - Any half-decent programmer can break the "encryption". Do a search for "protware decrypt" (without the quotes) on Google Groups and you'll see what I mean!
Secondly, if there are some pages or content that I need to download, I don't use a browser -- I use a tool like WGet. If there are a bunch of pages, I might use the recursive function, and pull a whole subtree. If it's not immediately readable that way (perhaps Javascript obfuscated), then I go elsewhere -- your data remains unread, and you lose my custom.
Attempting to protect content will always annoy some users. The more knowledgeable your readership, the more annoyed they are likely to be. The question you have to ask yourself is this:
If your protection method doesn't stop someone who wants to steal your content, and it annoys your users, what's the point?
[edited by: asquithea at 11:52 pm (utc) on Jan. 11, 2004]
Interesting thread, found this option and wonder what you think about it go to: ht*p://www.encrypt-html.com/_disable_view_source.htm
Just to belabour the "it's-not-possible-to-hide-it-if-you-can-view-it-in-the-browser" point, Secunia.com reports that:
ProtWare promises to protect your html and javascript from the users visiting your web site.This is done by using "encryption", or so ProtWare calls it. The html and javascript is merely obfuscated. However, anyone with a little knowledge of javascript can easily "decrypt" the html and javascript.
They go on to say this about a solution to the problem with protware's product:
There is no solution, as your web browser needs to be able to read and interpret the html and javascript, thus any means used to make the obfuscated code readable to the browser can also be used by humans to read the code.
...not to mention that since it sounds like it relies on javascript in some way, presumably when I visit an 'encrypted' page with javascript turned off, I will get either a page whose source code I can view, or a page that I can't read at all. The first makes the protware exercise pointless, and the second makes it insane...
-B
[link to secunia.com page: ht*p://www.secunia.com/advisories/8386/print/]
1) Daily tips or quotes that are stored in a database. The quote would be dated for each day. Example: Todays tip on 12/12/04 is...
2) Add a time of day somewhere on your page (as someone already suggested).
3) Share templates between your pages. Common headers and footers. Use gzip compression or any other method to speed up your pages. If you share your headers and footers between 20 pages, lets say, your load times will be much quicker than the theive who has 20 seperate pages.
4) I think the original poster said he was a webhost? Anyway, you could have your page reload with a particular hosting plans data when the visitor chooses a hosting plan. Have all the hosting data be called from a database dynamically. Add somthing like, This <month> hosting prices.
5) If you have a logo image, add your companies name across it. Making it pointless to copy.
6) Use a CSS and name all your defintions with your company name or variations of it. Example: table.mycompany and td.company_com. Then your company name would be buried throughout your pages forcing the thief to search for and change them. Do the same with all your images.
Adding these and similiar approaches would create a pretty hefty workload for most theives. They would most likely move on and find a place that was easier to copy.
I think most everyone here would agree that any of these methods would be completely transparent to a visitor, unlike disabling right-click. Some would agree that these methods would really be annoying if your were trying to steal content.
Good luck
It sucks, but there's practically nothing that can be done. The only up-side to disabling the right-click is that it may well discourage any "amateurs" from trying any harder to get what they want. After all, its generally people who can't use HTML that try to steal good stuff off of other people's sites.
Since it is impossible to stop someone from copying your html, it is very sensible to make it difficult for people.
Also, since C&D letters and calls to hosting companies have generally given good results, it might be worth looking at faster ways to detect copyright infringements.
The javascript library could make a call on each page to pre-load an image using an absolute URL. You can know a site has been copied as soon as the person checks to see that it uploaded properly- assuming they don't know how detect it, or don't bother reading javascript.
If the obfuscated JS is also used to display elements on the page, simply erasing it is not an option. There are a few more obfuscated js tricks that could be tried- dynamically re-writing all links to point to the right domain, changing copy to something very silly or pure gibberish... (imagine a person without good js knowledge trying to figure it out! lol) :)
Disclaimer if you use silly js tricks: you might just incite hackers to steal it. Just like a right-click makes me want to see what they're trying to hide- and I right-click all the time to open in another tab.
Another way to get fast feedback would be to use a script making daily calls to Google searching for several unique phrases on your site.
HTH
Umm, no it does not speed anything up. That content, after being dynamically created by the server, still has to be sent to the browser for every single page view of the site.
You are correct sir. [whoops]I was thinking of speeding up server-side[/whoops]
Let me try it from another approach. If you use shared headers and footers along with dynamically updating content then when you update your website, lets say with a new pricing scheme for that month on every page, it will only take you a few minutes. The theif will have to manually go through and re-copy every page on your site. If you combine this with the other techniques, such as embedding your company name in your css, then the theif will have to go through each month and edit the css on top of copying the entire site.
Example in php,
<?
$title = 'My home page';
include( 'header.php' );
include( 'my_pricing_scheme.php' );
include( 'content.php );
include( 'footer.php );
?>
Now every month (or week) update your pricing scheme or package deals a little bit and include it on every page of your site. This should thoroughly annoy any theif.
I just thought of another way to deter theft. Add a script to accept visitor comments about your service, like a guestbook. Have the comments be written to another file. Every day or so, look through the comments, pick a good one, and add it to a comment page or even your front page. The beauty of this is you will get fresh content for your website for free. A theif would have to keep pretty busy to keep stealing your comments every day.
Think of the way amazon.com does it's website. There homepage changes almost every time you visit them. I once refreshed the page and got a whole new page. The time a theif stole their front page and changed all the logos to his own it would be out of date.
If by any chance you do stumble on a crook, deal with it promptly and all, but don't barricade before it's time too.
I find most people arguing about valuable "contents" don't even realize it's that valuable to most.
Write things in your own voice and style. Build a large amount of such contents. Overtime, it will strike anyone that it is one person's voice and useless for others, while being very important and valuable contents to read about.
Closer to the origial topics, I've written articles in the past about such issues in the past and my only conclusion is to always focus on new contents and make it accessible.
By being positive about such things, I've seen that people ask me to use my contents now.