Page 1 of 1

Image Protector using MooTools

PostPosted: Wed Dec 10, 2008 12:05 am
by ratheesh
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

Re: Image Protector using MooTools

PostPosted: Wed Dec 10, 2008 12:53 am
by jay
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.

Re: Image Protector using MooTools

PostPosted: Wed Dec 10, 2008 1:39 am
by silvester
Yes jay you are correct........

Re: Image Protector using MooTools

PostPosted: Wed Dec 10, 2008 2:23 am
by ratheesh
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.

Re: Image Protector using MooTools

PostPosted: Wed Dec 10, 2008 4:26 am
by Sreedhar
Oh wow, thanks guys, I was looking for something similar for my website. Will try to implement this.

Re: Image Protector using MooTools

PostPosted: Wed Dec 10, 2008 10:32 pm
by finoy
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