Image Protector using MooTools

Programming for Search Engines 101. An area for avid PHP and .NET developers to chat about Programming techniques and how to make better use of search engines.

Moderator: Moderators

Image Protector using MooTools

Postby ratheesh » Wed Dec 10, 2008 12:05 am

Image protection is a hot topic on the net these days, and why shouldn’t it be? If you spent two hours designing an awesome graphic, would you want it ripped of in matter of seconds? Hell no!

Here is the image protector class to help designers and artists protect their images,how it helps:

* Prevents right-click “Save Image As”.
* Prevents dragging an image to the desktop.
* Prevents right-click “Save Background As”.
* Prevents right-click “View Background Image”

All I needed was a small MooTools script.

MooTools 1.2 Image Protector: dwProtector

click to view example
http://davidwalsh.name/dw-content/image-protector.php
ratheesh
 

Re: Image Protector using MooTools

Postby jay » Wed Dec 10, 2008 12:53 am

Moo Tools works basically on Javascript.

Disable javascript on your browser.

Go to

The images can be downloaded easily.

Images or source can be protected only if it's protected using server side language or third party tools.
Jay M
Write Less, Do More
jay
 
Posts: 475
Joined: Wed Nov 22, 2006 12:05 am
Location: Cochin, India.

Re: Image Protector using MooTools

Postby silvester » Wed Dec 10, 2008 1:39 am

Yes jay you are correct........
silvester
 
Posts: 89
Joined: Mon Nov 10, 2008 12:59 am

Re: Image Protector using MooTools

Postby ratheesh » Wed Dec 10, 2008 2:23 am

jay & SIlvester I agree with you.

We can solve this problem by checking client browser's JavaScript status. If not enabled then show some meaningful comments or something.


Example : Redirecting Browser to a page if JavaScript not enabled

http://www.wysework.com/projects/wysegu ... script.php

I think we can protect our images by using Image Protector script and some .htaccess settings.
ratheesh
 

Re: Image Protector using MooTools

Postby Sreedhar » Wed Dec 10, 2008 4:26 am

Oh wow, thanks guys, I was looking for something similar for my website. Will try to implement this.
Sreedhar
 

Re: Image Protector using MooTools

Postby finoy » Wed Dec 10, 2008 10:32 pm

hi my buddies,
In my experience, in net, there no security for our image and all...
means in this case no need to disable the JS..
simply do, save page as or ctrl+S. we can get all images from that page..... :D
finoy
 


Return to Programming

Who is online

Users browsing this forum: No registered users and 2 guests