RetouchPRO

Go Back   RetouchPRO > Tools > Software
Register Blogs FAQ Site Nav Search Today's Posts Mark Forums Read Chat Room


Software Photoshop, Paintshop Pro, Painter, etc., and all their various plugins. Of course, you can also discuss all other programs, as well.

Reply
 
Thread Tools
  #1  
Old 02-09-2006, 06:42 AM
chrishoggy's Avatar
Senior Member
 
Join Date: Dec 2004
Location: Yorkshire
Posts: 576
Blog Entries: 1
Flash MX image protection project

I'm embarking on a new project to protect images from being copied. This method will also prevent screen shots being taken. It's only in development/working theory stage at the moment. I was just wondering if this type of high security would be of interest to users here?

The final result would mean you can have high res proofs for customers to view, without the risk of them printing off and getting your work for free .
I'm looking at giving output images in swf format like this Here (and the final release would have download, direct link and copy protection/blocking. It will have password encryption even if download was achieved, and decompiler protection to cut out image ripping from the swf. There will also be the ability to disable the print screen function and render any key activity useless while the image is in view.
Reply With Quote
  #2  
Old 02-09-2006, 01:13 PM
Kraellin's Avatar
Moderator
 
Join Date: Apr 2005
Location: somewhere over there
Posts: 8,750
Blog Entries: 4
chris,

i have yet to view ANY image that i cant copy, one way or another. if i can see it on my monitor, i can copy it. i guarantee it. if in no other way, i can ALWAYS take a photo of the monitor. so, if it can be seen, it can be copied, regardless of how many keys you disable. and with flat screens being so prevalent nowadays, you dont even get any barrel distortion from the screen. and if you somehow figured out an interlace method to defeat digital cameras, there are still optical/analog cameras that would not be fooled.

now, i have seen some decent methods to slow or stop most folks from copying and a lot of them are swf based, so if that's what you're shooting for, why ok. just be aware that there's always a way to pick any lock

the best way for proofs is still watermarks across the image. i know. i rip a LOT of images just for personal pleasure and the ones i always leave alone are the watermarked ones. it's just not worth the effort to try to clean them up.

craig
Reply With Quote
  #3  
Old 02-10-2006, 05:31 AM
Junior Member
 
Join Date: Apr 2005
Location: Cardiff
Posts: 15
It's a noble attempt but as Kraellin says: Where there's a will, there's a way.

Dave.
Reply With Quote
  #4  
Old 02-11-2006, 06:35 AM
chrishoggy's Avatar
Senior Member
 
Join Date: Dec 2004
Location: Yorkshire
Posts: 576
Blog Entries: 1
It may be impossible to stop the tech minded from getting your images. But we are talking about showing customers your work, and they are mainly not able to do work on images. If they were, they would not have needed your services in the first place

I do like the cool watermarks you can put on with flash. Here is one on one of my own photos
http://www.chrishoggy.pwp.blueyonder.co.uk/wm.swf
Reply With Quote
  #5  
Old 02-11-2006, 11:01 AM
chrishoggy's Avatar
Senior Member
 
Join Date: Dec 2004
Location: Yorkshire
Posts: 576
Blog Entries: 1
Here is a quick example with low security and no folder lockdown (no htaccess files added etc). Let me know how long it takes for you to get the restored image (it isn't a fully restored image by the way )
http://www.chrishoggy.pwp.blueyonder.co.uk/test/

Image you are looking for is a 1600x1146 jpg file

Last edited by chrishoggy; 02-11-2006 at 11:28 AM.
Reply With Quote
  #6  
Old 02-11-2006, 03:53 PM
Frank Lopes's Avatar
Senior Member
 
Join Date: Nov 2005
Location: Northern Hemisphere
Posts: 889
Blog Entries: 27
You are not displaying the big image. Display the big image and then ask how long it takes...

Quote:
Originally Posted by chrishoggy
Here is a quick example with low security and no folder
...
Image you are looking for is a 1600x1146 jpg file
Reply With Quote
  #7  
Old 02-11-2006, 04:04 PM
chrishoggy's Avatar
Senior Member
 
Join Date: Dec 2004
Location: Yorkshire
Posts: 576
Blog Entries: 1
Quote:
You are not displaying the big image. Display the big image and then ask how long it takes...
You are viewing the big image, as that is the restored image you can see through the viewer. It's there, being viewed and you can see every bit of the image. It's just not all showing at the same time .

Images that are in the script can be hotlinked to and viewed from source. So like I said, show me the image

Move viewer with your mouse

Last edited by chrishoggy; 02-11-2006 at 04:21 PM.
Reply With Quote
  #8  
Old 02-11-2006, 04:19 PM
Frank Lopes's Avatar
Senior Member
 
Join Date: Nov 2005
Location: Northern Hemisphere
Posts: 889
Blog Entries: 27
Then it must be me: all I get to see is a small image with a magnifying glass that I can move around. Granted it magnifies the area that is on top of, but I don't get to see the "big picture"... pun intended.

If you feel that strongly, look into the possibility of having an applet that does not display anything unless the browser is in focus (I don't know if it can be done without mucking with the OS...) and disabling the keyboard. Then the only method left (there is always a way...), would be by taking a photograph of the monitor.

I think, it is an interesting and valiant effort but a futile one.

Just my 2 cents.

Quote:
Originally Posted by chrishoggy
You are viewing the big image, as that is the
....
Images that are in the script can be hotlinked to and viewed from source. So like I said, show me the image
Reply With Quote
  #9  
Old 02-11-2006, 04:33 PM
chrishoggy's Avatar
Senior Member
 
Join Date: Dec 2004
Location: Yorkshire
Posts: 576
Blog Entries: 1
Quote:
I think, it is an interesting and valiant effort but a futile one.
Fact is, a customer can view any part of a restored image via the viewer (that can be made bigger). They can zoom in on detail and see the work done, but they can't print the restored image
Fact that you can't show me the whole image, proves it isn't that easy to get/grab/hotlink to, or what ever. So it proves the method works
Reply With Quote
  #10  
Old 02-11-2006, 05:09 PM
Doug Nelson's Avatar
Janitor
 
Join Date: Aug 2001
Posts: 6,218
Blog Entries: 21
My (ex)father-in-law used to say "Locks only keep out honest people"
Reply With Quote
  #11  
Old 02-11-2006, 06:13 PM
Frank Lopes's Avatar
Senior Member
 
Join Date: Nov 2005
Location: Northern Hemisphere
Posts: 889
Blog Entries: 27
The fact Sir, is that it does NOT work.
It took me 10 minutes to get it.
Here is the URL:
http://www.chrishoggy.pwp.blueyonder...oneyouwant.jpg


Quote:
Originally Posted by chrishoggy
get/grab/hotlink to, or what ever. So it proves the method works
Reply With Quote
  #12  
Old 02-12-2006, 01:09 AM
chrishoggy's Avatar
Senior Member
 
Join Date: Dec 2004
Location: Yorkshire
Posts: 576
Blog Entries: 1
You did it via common folder name, thats after you got it from the swf. And you received 6 url 404 errors when trying.
/test/thisistheoneyouwant.jp HTTP/1.1" 404
/images/thisistheoneyouwant.jp HTTP/1.1" 404
/test/imagebase/thisistheoneyouwant.jpg HTTP/1.1" 404
/imagebase/thisistheoneyouwant.jpg HTTP/1.1" 404
/thisistheoneyouwant.jpg HTTP/1.1" 404
/thisisthesmall.jpg HTTP/1.1" 404
Quote:
Here is a quick example with low security and no folder lockdown
I did say that, did I not?
Quote:
The fact Sir, is that it does NOT work
These are supposed to be constructive comments?
2 simple steps that will be in the final template would have stopped that. What would you have done if the files were named thisistheoneyouwant.wxyz and the folder they were in was server side access only?

Last edited by chrishoggy; 02-12-2006 at 02:54 AM.
Reply With Quote
  #13  
Old 02-12-2006, 06:06 AM
Frank Lopes's Avatar
Senior Member
 
Join Date: Nov 2005
Location: Northern Hemisphere
Posts: 889
Blog Entries: 27
It took me several steps because I made a mistake typing the URL.
I typed "thisistheoneyouwant.jp" instead of "thisistheoneyouwant.jpg"

Regarding the comments, they were just my opinion. I still think what you are doing is a valiant and creative effort but only from a coding perspective.

I did decompile the swf file and that is how I had access to the image name. I do realize 99% of the users would not be able to do it either because they don't know how or don't think the effort is worth it.

Regarding renaming the image "thisistheoneyouwant.wxyz", I don't think it will work. I will download the "wxyz " file and just rename it locally to "jpg".

If you still want to pursue this idea, look into the possibility, as you mentioned, of putting the big image outside the web server folder structure. I don't know if Flash allows for that but it is a possibility. This could be also be augmented with a simple check from the web server: if the request does not come from the local system, don't serve the image.

I think the idea of having a magnifier glass is an interesting idea. I just don't know how well that will work with someone that wants to see the overall picture. Sure, one gets to see all of the picture but not all at once, and, in my opinion that is a big problem. If you think your visitors will not mind, then, by all means, go at it.

One final point:

One of the reasons why I think this was a very creative approach is due to the fact that you allow users to see portions of "the big picture", even a VERY large hi res picture (that could be many Mb in size...), without having the picture transferred to the browser. All it comes to the browser is a tiny 6kb file. This "trick" is, I think, worth exploring more for other uses. Just not this one.

Having said all of that, remember: if there is a will there is a way and what I did, should not be seen as a statememt on your level of security but more a comment on Flash. It was a demonstration that, via the web, just about anything is possible. It was, from my perspective, simply an academic exercise.

Quote:
Originally Posted by chrishoggy
You did it via common folder name, thats after you got it
...
were in was server side access only?
Reply With Quote
  #14  
Old 02-12-2006, 06:58 AM
chrishoggy's Avatar
Senior Member
 
Join Date: Dec 2004
Location: Yorkshire
Posts: 576
Blog Entries: 1
Yes decompiling is one of the easy ways round it, but that is yet another hole that will be blocked, by encrypting the swf scripts. As you will have seen there was no protection on this item at all (except standard import protection). It is just a flash effect that has been modified to show before and after on a roll over But saying that, it has made life difficult for the 20+ people who have been trying like mad to guess/work out where the files are (404's all over my logs ). So a 1 in 20 success rate isn't bad for a method that has no security applied to it at all. Once the security is applied this should improve dramatically, making ripping of the image nearly impossible for the every day user/customer

Last edited by chrishoggy; 02-12-2006 at 08:24 AM.
Reply With Quote
  #15  
Old 02-12-2006, 07:35 AM
Cameraken's Avatar
Senior Member
 
Join Date: Feb 2005
Location: Lancashire (UK)
Posts: 1,122
Hi Chris.

Well I was one of the people who tried and gave up. I think you idea has potential. I would not have a clue how to decompile a swf file (I could do some reading and then it may be easy) But I think this would stop the vast majority of people.

I did find the magnifying glass a little annoying. It’s difficult to get a feel for the whole picture. Maybe if the magnifier was not so strong and a little bigger then it would have been better.

Ken
Reply With Quote
  #16  
Old 02-12-2006, 08:20 AM
chrishoggy's Avatar
Senior Member
 
Join Date: Dec 2004
Location: Yorkshire
Posts: 576
Blog Entries: 1
Ken, the magnifier will be bigger and I may do away with the handle, just leaving a thin outer rim. The magnifier seems a bit overpowering because the base image (800x573) is so small compaired to the restored (zoomed 1600x1146) image, thus doubling the zoom before it even started . Once finished the magnification will be between 1.5 and 2x, and shouldn't be as blocky, as both images will be the same size.

Frank, as you know, you got the image url via this script.
Quote:
loadMovie("thisisthesmall.jpg", "imagebase");
loadMovie("thisistheoneyouwant.jpg", "imagemagnifier.imagelarge");
_root.onEnterFrame = function() {
if (loaded == 2) {
scalefactor = imagemagnifier.imagelarge._width/imagebase._width;
gotoAndStop(2);
}
};
stop();
Where as the encrypted swf looks like this after decompiling
Quote:
Level #0: Frame=1 Label="!#p"
Movie Clip: Frame=1 Target="_level0.imagebase"
Shape:
Movie Clip: Frame=1 Target="_level0.imagemagnifier"
Shape: Mask
Movie Clip: Frame=1 Target="_level0.imagemagnifier.imagelarge"
Shape:
Movie Clip: Frame=1 Target="_level0.imagemagnifier.theglass"
Shape:
PS: I don't mind codes being posted etc, as final template will have a totally different layout structure
Reply With Quote
  #17  
Old 02-12-2006, 08:53 AM
Frank Lopes's Avatar
Senior Member
 
Join Date: Nov 2005
Location: Northern Hemisphere
Posts: 889
Blog Entries: 27
Post the SWF file on the website and then I'll take a look. It just might work for you...

Quote:
Originally Posted by chrishoggy
Ken, the magnifier will be bigger and I may do away with
...
different layout structure

Last edited by Frank Lopes; 02-12-2006 at 09:02 AM.
Reply With Quote
  #18  
Old 02-12-2006, 09:32 AM
chrishoggy's Avatar
Senior Member
 
Join Date: Dec 2004
Location: Yorkshire
Posts: 576
Blog Entries: 1
This is a standard encryption swf. same file as before, but with the image file names changed. Images don't exist, so won't show in flash. But the image details are there to be found, as they were before
http://www.chrishoggy.pwp.blueyonder.co.uk/test.swf

Just post the image file name
Reply With Quote
  #19  
Old 02-12-2006, 09:43 AM
chrishoggy's Avatar
Senior Member
 
Join Date: Dec 2004
Location: Yorkshire
Posts: 576
Blog Entries: 1
PS: If your decompiler does give up the details, it would be useful to know what one you are using . The encrypting software claims to block many of the main ones on the market
Reply With Quote
  #20  
Old 02-12-2006, 09:49 AM
Frank Lopes's Avatar
Senior Member
 
Join Date: Nov 2005
Location: Northern Hemisphere
Posts: 889
Blog Entries: 27
The files are canyoufindit.jpg and canyoufinditbig.jpg

Would you rather take this discussion offline? We might be boring others to death with such arcane subject.... :-)

Quote:
Originally Posted by chrishoggy
This is a standard encryption swf. same file as before, but
Just post the image file name

Last edited by Frank Lopes; 02-12-2006 at 10:01 AM.
Reply With Quote
  #21  
Old 02-12-2006, 10:03 AM
chrishoggy's Avatar
Senior Member
 
Join Date: Dec 2004
Location: Yorkshire
Posts: 576
Blog Entries: 1
There are many tech minded people on here who can contribute to the building/development of this, thats why I posted it to start with That one was done with http://www.amayeta.com/ trial version. Would be nice to inform them of the lack of security in their software product. What decompiler do you use?

Seems server side access only is the way to go, and write the swf on the fly That cuts out any chance of gaining access to the files, unless they gained ftp access to the server
Reply With Quote
  #22  
Old 02-12-2006, 10:16 AM
Frank Lopes's Avatar
Senior Member
 
Join Date: Nov 2005
Location: Northern Hemisphere
Posts: 889
Blog Entries: 27
Are those the correct names?

I don't use a standard "Flash decompiler" but I did "decompile" the code.
I use my own method. It would not serve anyone telling the world how to "hack" a swf file, so if you don't mind I'll not make it public.

I got to go for for now: got to shovel snow... the northeast US is under a blizzard... :-(

Quote:
Originally Posted by chrishoggy
There are many tech minded people on here who can
...
ftp access to the server
Reply With Quote
  #23  
Old 02-12-2006, 10:20 AM
Cameraken's Avatar
Senior Member
 
Join Date: Feb 2005
Location: Lancashire (UK)
Posts: 1,122
Quote from Amayeta

“SWF Encrypt™ 3.0 encrypts your Macromedia Flash® SWF files, protecting them from the most popular Flash Decompiler Tools on the market! Secure your ActionScript today and prevent SWF Reverse Engineering and Decompiling.”


Well Done Frank.

Ken
Reply With Quote
  #24  
Old 02-12-2006, 10:39 AM
chrishoggy's Avatar
Senior Member
 
Join Date: Dec 2004
Location: Yorkshire
Posts: 576
Blog Entries: 1
Quote:
so if you don't mind I'll not make it public.
Yes, they are correct
Don't mind at all, in fact I have a good idea how, as I have just done it myself now (didn't try before) Doesn't say much for their stuff does it

Keeping the files server side may give them the file names, but they would have no access to a none public folder on the server (before you say it, I know there are ways. But it ain't that easy)

This kind of testing is the only way we will ever be able to get something that will have as many closed doors as possible
Reply With Quote
  #25  
Old 02-14-2006, 12:39 PM
chrishoggy's Avatar
Senior Member
 
Join Date: Dec 2004
Location: Yorkshire
Posts: 576
Blog Entries: 1
Quite like the way this one turned out
http://www.chrishoggy.pwp.blueyonder.co.uk/ex.swf
Reply With Quote
  #26  
Old 02-14-2006, 09:20 PM
Frank Lopes's Avatar
Senior Member
 
Join Date: Nov 2005
Location: Northern Hemisphere
Posts: 889
Blog Entries: 27
You decided to include both large and small in the SWF?

If you plan to use the swf method, then leave the big one in the server and load it as you were doing before. It was lightweight and very quick. This one weights a hefty 685Kb :-)

Quote:
Originally Posted by chrishoggy
Quite like the way this one turned out
http://www.chrishoggy.pwp.blueyonder.co.uk/ex.swf
Reply With Quote
  #27  
Old 02-15-2006, 11:22 AM
chrishoggy's Avatar
Senior Member
 
Join Date: Dec 2004
Location: Yorkshire
Posts: 576
Blog Entries: 1
Yes, I will have larger images on server, once I can secure them in a way that blocks direct access. Is this viewer better than the other for size of restored image etc? It does seem a bit larger/clearer and you can change size of viewer .
If the no security version Here is wanted for general web viewing/web design etc, I'm happy to post a zip with the source files and instructions on putting on the web. It's only a case of sizing and naming your before and after images, then uploading them along with the swf file.
Reply With Quote
  #28  
Old 02-17-2006, 07:16 AM
creeduk's Avatar
Senior Member
 
Join Date: Feb 2005
Posts: 297
A strip you can slide along revealing a slice of restored image I think would be a nice method for viewing. I saw one similar that you slid back the old to reveal the restore, this time though to protect from screen grab I would just use a slice of reveal then at least you see a full strip and by sliding across get a full effect of the work you have done.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What resolution and PPI for a picture you want to visualize on a TV? HenZ Photo Retouching 4 08-31-2007 11:19 AM
Crocodile skin... therookie Photo Retouching 26 04-04-2007 01:28 PM
how to get this amazing look (heimo)? Faust Photo Retouching 25 08-17-2006 03:09 PM
Converting Color Image To Grayscale Ed_L Photo Retouching 7 09-27-2001 08:37 PM
maintaining image size in photoshop 6 when copying to a new image Chris W. Software 9 09-08-2001 09:27 PM


All times are GMT -6. The time now is 09:01 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 2008 Doug Nelson. All Rights Reserved