Sunday, 27 May 2012 08:21 AM

Untitled Document
Untitled Document

Get your regular dose of "A Moment Of Sharing" and FREE gifts NOW, because you deserve...

Email:
Name:


WWW IMC

Contact Us
Manifesto
About Nelson
A Moment Of Sharing
Blog
FREE Website Tools
Resource Articles
Shop At ClickBank
Link With Us!
Ethiclinks
Gotlinks
Linkdash
Linkslister
Telalinks
Interlink Exchange
LinksNow
Receive Links
Linknami
free link exchange
wireless bluetooth headsets shop best deal
Diet Plan
Free poker tips
Gothic graver dark rave cyber industrial emo
Sactown USA


You Are Here: Home > Resource Articles > Stealth & Security > Article

 

Untitled Document

 Top Picks for Sunday, 27 May 2012

How To Disable 'Copy And Paste' To Protect Your Source Code And Images

by Nelson Tan

 

"No Right Click" JavaScript For Images

 

Have you ever worked really hard on graphics for your site only to find later that someone has stolen them as their own. You can fully encrypt and protect your site with HTML-Protector and the scripts below will help against novices.

 

Use the script below so when someone right clicks to save an image off your page, a message will come up letting people know that your information is copyrighted.

 

This script only works on newer browsers, and it's not foolproof. If someone really wants something from your page they can find ways around it, but at least it's a warning to people who want to take your graphics. Copy and paste the following code, and make sure it comes right after your <HEAD> tag:

 

<script language="JavaScript">
// distributed by http://hypergurl.com
<!--
var popup="Sorry, right-click is disabled.\n\nThis Site Copyright ©2000";
function noway(go) {
if (document.all) {
if (event.button == 2) {
alert(popup);
return false;
}
}
if (document.layers) {
if (go.which == 3) {
alert(popup);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=noway;
// --> </script>

 

"No Right Click" JavaScript For Source

 

Here is a handy little script which will not only protect your images from right clicking, but your whole page. Remember this only stops some visitors from viewing your source. There are ways around it and if someone really wants to view your source they may find a way. There is another trick below to protect your source code.

 

This script works best if placed within the head tags of your html. Homestead users can use the "insert html" option within their editors:

 

s<script language="JavaScript1.1">
// distributed by http://www,hypergurl.com
<!-- var debug = true;
function right(e)
{
if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) return false;
else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) {
alert('This Page is fully protected!');
return false;
}

return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
//--></script>

 

Disable "Copy And Paste"

 

One of the most popular security questions is "How do you stop visitors from stealing your webpage information?"

 

Below is a little trick that will stop your visitors from copying and pasting your web page information. Anyone with experience may know a way around this trick. However it will make it hard enough to discourage them and get them moving on to easier targets.

 

Add the following HTML code to your BODY tag and this is what it looks like once implimented: <body bgcolor="#FFFFFF" ondragstart="return false" onselectstart="return false">

 

Make Your Source Code Vanish!

 

Now before I show you this last trick to protect your source, I would like you to first view my source. Just click "View" then choose "Source".

 

How did I do that?

 

Place your cursor in front of the opening <html> tag and hit your enter button for a while. It will push your source code out of view and this will fool the fools. *smiles*.

 

These are rather simple yet effective tricks for webmasters of all levels to implement even a 'sense' of security for their own site protection. However, when you are prepared to invest in a more powerful software, we recommend HTML-Protector for its ability to prevent e-mail address extraction, password-protect your web pages, encrypt links (especially order links!), disable screen-capture and many more!

 

For further information, click here to visit the Features and FAQ sections.

 

 

Nelson Tan is one-half of the Internet Mastery Center. Create Your Online Profits with the RIGHT Products, Environment and Mindset!

 

 

Comment
Tell A Friend
Print
Bookmark
Main Section

 

 


Warning: ./cache is not writeable. Make sure you've set the correct relative or absolute path, and that the location is server-writable. in /home/inter154/public_html/simplepie.inc on line 1780

Hot Recommendations
 

Internet Mastery Center Blog

The importance of having a social media marketing plan.
Do you already have a social media marketing plan in place? If you aren’t utilizing social media in your marketing plan, then you’re really missing out! Within 6 months of adding social media to my marketing, I had tripled leads and income, which isn’t something to be sneezed at. The beautiful thing about social media [...]

Red Light/Green Light TRAFFIC…
Russell Brunson has been conducting a series of ‘live’ affiliate marketing training videos that are nothing short of awesome! This Friday he’s going to reveal why it’s so easy get traffic for SUPER competitive keywords using his “Red Light/Green Light” SEO strategy. DON’T MISS IT…you’ll only be billed $1 for your registration, after which Affiliate [...]

Internet Marketing For Busy Moms (And Dads Too!)
You probably have heard stories of online rags-to-riches. You’ve seen ordinary people becoming highly respected marketing experts. You may even know of a friend who was once a marketing ‘nobody’ now having everyone calling him/her a ‘guru’. Question is: when will it be your turn? While your ‘guru’ friends seem to have a knack for [...]

13% conversion rate is ho-hum normal to some guys…
By Internet Marketing standards, a 1% conversion rate is pretty normal. You are kicking butt if you can hit 2% or 3%. But when Simon Hodgkinson and Jeremy Gislason start to hit 13% and up to 72%+ conversions, I seriously wonder whether they are playing a fair game… Well, you can find out today and [...]

All-new autoresponder with NO monthly fees!
arpReach has completed remaking its brand name from what is formerly known as Autoresponse Plus to bring you new features and improvement to its e-mailing service. What’s more, arpReach has NO monthly fees. It’s only a one-time investment for setting up as many e-mail lists as you like! Read the Top 10 Changes made to [...]

Thought Of The Moment

 

Untitled Document

Copyright © Internet Mastery Center. All rights reserved. | Site Map | Anti-Spam Policy | Terms Of Use | Privacy Policy