[BNM] Creating a Flickr spaceball.gif effect

Alastair James al.james at gmail.com
Fri Feb 1 10:08:08 GMT 2008


Ok, fundamentally, if someone really wants the image, they can get it
(hell you can take a screen grab and cut it out). If you have firebug,
theres not much you can do to defend the image. The flickr method does
not defend against DOM inpectors / firebug.

But the goal is to protect against the casual user right?

Al

On 01/02/2008, Jay Caines-Gooby <jay at gooby.org> wrote:
> On Feb 1, 2008 9:56 AM, Alastair James <al.james at gmail.com> wrote:
> > Ok, you could also:
> >
> > make a div with the main image as a css background. Use CSS to set its
> > size to be the same as the image.
> >
> > put an image inside the div (same size) with the transparent gif.
> >
> > Then the main image is not clickable as a background image. You would
> > have to open up the source to get the URL.
> >
> > If you wanted to make it even harder, you could encrypt the URL and
> > pass it to client javascript code which decrypts it and sets the div's
> > background on load. The hacker would have to then pull out your
> > decrypt function to get the URL then...
>
> Or just use Firebug and inspect.
>
>
> --
> http://BarCampBrighton.org 15-16th March
>
> Jay Caines-Gooby
> jay at gooby.org
> +44 (0)7956 182625
> skype: jaygooby
> gtalk: jaygooby at gmail.com
> AIM: jaygooby
> --
>
> BNM Subscribe/Unsubscribe:
> http://www.brightonnewmedia.org/options/bnmlist
>
> Archive Search - http://icanhaz.com/bnmarchive
>
> Looking for a new job? Come along to the Brighton Digital Media Job Fair: http://www.brightonjobfair.co.uk/
>
> BNM powered by Wessex Networks:
> http://www.wessexnetworks.com
>


-- 
Dr Alastair James
CTO, Purple Sage Ltd & James Publishing Ltd
www.alastairjames.me.uk


More information about the BNMlist mailing list. Powered by Wessex Networks