Image Protection Script: Invitation to crack it.
09-27-2007, 10:39 PM
|
Image Protection Script: Invitation to crack it.
|
Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
|
This morning I've knocked out an image protection script using multiple tactics. PHP is the main weapon, flash, JS, CSS and headers are also used.
The script is going to be used in a premium content site and the purpose is to discourage most web users from copying the images or discovering the directory location for url browsing.
There's some crafty coders in here, so I was wondering if you could have a go at trying to get a copy of the image onto your hard drive. If you manage that, could you please post how you did it, so I can try and cover any holes I missed.
Webpage image protection script
I gotta crash for a few hours; bbl to see who grabbed a copy.
|
|
|
|
09-28-2007, 12:15 AM
|
Re: Image Protection Script: Invitation to crack it.
|
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
|
This is not working in FF
__________________
<mgraphic /> - I don't have a solution but I admire the problem.
|
|
|
|
09-28-2007, 01:28 AM
|
Re: Image Protection Script: Invitation to crack it.
|
Posts: 219
Name: Rob
Location: UK
|
What?? this one 
|
|
|
|
09-28-2007, 02:33 AM
|
Re: Image Protection Script: Invitation to crack it.
|
Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
|
Which version of FF? I tested with 2.0.0.7, IE6.0 and NN7. Seems to work fine. Maxxximux - which one?
|
|
|
|
09-28-2007, 02:48 AM
|
Re: Image Protection Script: Invitation to crack it.
|
Posts: 219
Name: Rob
Location: UK
|
Why... this one

|
|
|
|
09-28-2007, 02:59 AM
|
Re: Image Protection Script: Invitation to crack it.
|
Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
|
GG maxxximus, can you explain how you did it though? That's the point of the thread...
|
|
|
|
09-28-2007, 03:45 AM
|
Re: Image Protection Script: Invitation to crack it.
|
Posts: 219
Name: Rob
Location: UK
|
Very little involved - anyone on here could do it. I'll let someone else chime in.
|
|
|
|
09-28-2007, 04:30 AM
|
Re: Image Protection Script: Invitation to crack it.
|
Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Simple...
With firefox:
right click on the page -> view page infos -> media -> save as
The page infos window can be reached via the menu "tools" too.
The "clipboard disabled" is really annoying though, as it happens with every tabs opened.
I generally have around 10/15 tabs opened at the same time, and the fact that it's not local is something that would be driving me mad if I didn't knew what it came from.
I'll give it a shot this evening at my linux box, because I'm fairly confident that the copy/paste buffer won't be affected there, but I'm curious.
metho, would you care to explain a bit on the method you used to realize this ?
I'm really curious.
__________________
Only a biker knows why a dog sticks his head out the window.
|
|
|
|
09-28-2007, 05:32 AM
|
Re: Image Protection Script: Invitation to crack it.
|
Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
|
Trippy, what do you mean realize?
The sites this script is intended for has a target market of 98.5 IE users, so to figure out a way to mask the image in FF's page info media tab... maybe.
|
|
|
|
09-28-2007, 05:39 AM
|
Re: Image Protection Script: Invitation to crack it.
|
Posts: 221
Name: Nick
Location: Coventry, UK
|
You could just do a print screen for small images?
|
|
|
|
09-28-2007, 05:46 AM
|
Re: Image Protection Script: Invitation to crack it.
|
Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Quote:
|
Trippy, what do you mean realize?
|
I meant, what techniques do you have used.
Quote:
|
The sites this script is intended for has a target market of 98.5 IE users, so to figure out a way to mask the image in FF's page info media tab... maybe.
|
Sure, and the way I see things, almost any "power user" use something else than IE today.
And I don't see how I could have done it with ie...
And as the info pane in firefox, it's a base feature of the browser that is outside of the page DOM, so I don't think you can alter the way it displays, or prevent user to display it.
It's like opening the bookmark panel, or the preference window, for me.
Out of reach for any javascript/flash element.
__________________
Only a biker knows why a dog sticks his head out the window.
|
|
|
|
09-28-2007, 10:21 AM
|
Re: Image Protection Script: Invitation to crack it.
|
Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
|
The images dont appear in the FF page info media tab when using https. If the script ran on https and forced a redirect to https when connecting via http, you couldn't save the image from the media tab either.
I tried it and the save nearly crashed the browser. The resulting image file was only 19bytes of a 3Kb image file. So, in it's final version, I can run it on https to stop FF users from saving from the media tab.
Last edited by metho; 09-28-2007 at 10:22 AM..
|
|
|
|
09-28-2007, 10:34 AM
|
Re: Image Protection Script: Invitation to crack it.
|
Posts: 842
Name: Rich Powell
Location: United Kingdom
|
What about plain old screenshot it and extract it that way? =)
|
|
|
|
09-28-2007, 10:36 AM
|
Re: Image Protection Script: Invitation to crack it.
|
Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
|
try it...
|
|
|
|
09-28-2007, 11:01 AM
|
Re: Image Protection Script: Invitation to crack it.
|
Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Quote:
|
The images dont appear in the FF page info media tab when using https
|
I think it's so because FF don't cache https elements, so image cannot be retrieved from it's cache neither.
You can change it via about :config and searching for "browser.cache.disk_cache_ssl"
True, not many average users will know it or change it...
__________________
Only a biker knows why a dog sticks his head out the window.
|
|
|
|
09-28-2007, 12:26 PM
|
Re: Image Protection Script: Invitation to crack it.
|
Posts: 6,521
Name: Dan
Location: Swindon
|
neat, but the clip board thing is very annouying, it disabled it when i was trying to copy the source url of the image from the soucre of the script, so i had to close it and open the root page which didnt have the copy paste disabled so i could paste the imge url .
Preety good tho, i havent tested in anythign but ie7
Will this image protection script be publicly avalible?
__________________
Discounted Web Hosting With XDnet! >> Get 25% of hosting~ Promo: Webmaster-talk <<
|
|
|
|
09-28-2007, 08:02 PM
|
Re: Image Protection Script: Invitation to crack it.
|
Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
|
"Will this image protection script be publicly avalible?" - nope, clients are paying for it. Prolly will after the sites gone live...
|
|
|
|
09-28-2007, 08:43 PM
|
Re: Image Protection Script: Invitation to crack it.
|
Posts: 730
Name: John
Location: United States of America, California
|
I noticed it screws up other open sites.
|
|
|
|
09-28-2007, 08:46 PM
|
Re: Image Protection Script: Invitation to crack it.
|
Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
|
How so? Haven't noticed anything like that...
|
|
|
|
09-28-2007, 09:17 PM
|
Re: Image Protection Script: Invitation to crack it.
|
Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
The anti copy flash file affect every opened tabs/windows.
That's what I was saying previously
Quote:
|
The "clipboard disabled" is really annoying though, as it happens with every tabs opened.
|
And for the record, as I thought, the copy/paste in linux works, when you use the middle mouse button as paste.
This is a special Linux behaviour: You highlight a text with your mouse, it gets copied, and you paste it with a middle click.
I could copy/paste the http://v2media.biz/php_utilities/ima...on.php?imgID=5 url with it.
ctr+c/v is affected by the flash though. But as I have the adblock extention, I see a "block this" tab attached where the 1x1 px element is embedded, and if I block it, the copy/paste works again.
__________________
Only a biker knows why a dog sticks his head out the window.
Last edited by tripy; 09-28-2007 at 09:18 PM..
|
|
|
|
|
« Reply to Image Protection Script: Invitation to crack it.
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|