File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Java & images Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Java & images" Watch "Java & images" New topic
Author

Java & images

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
I want that nobody should be able to copy my images from my website in any case i.e.

1) right mouseclick,
2) select all and copy (via menubar; [ctrl]+[A] & [ctrl]+[C])
3) drag and drop (via left mouseclick and drag)
4) print screen button
5) print (via menubar and [ctrl]+[p])
6) view source
7) image properties
8) retrieving images from cache
9) Edit or Save As of browser menu

Now lets complicate this by the common flavors of web browsers
1) MSIE 6.0
2) MSIE 5.5
3) MSIE 5.2 (Mac)
4) MSIE 5.0
6) Mozilla
7) Mozilla Firebird
8) Opera
9) Safari
10) do I need to mention more?

Now lets consider OS variations:
1) WinXP, 2000, NT
2) Win9x
3) Mac OS X
4) Linux

Thanks & best regards
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61202
    
  66

The only solution is to not put them on the web.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Originally posted by Bear Bibeault:
The only solution is to not put them on the web.


Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61202
    
  66

Sorry to be the bearer of bad news. If the image is visible in the browser, there is no way to 100% prevent it being obtained.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
There is no ways to do it as Bear says. The image is downloaded to the user's computer so all they have to do is go into the cache and take it from there.

Eric
D Rog
Ranch Hand

Joined: Feb 07, 2004
Posts: 472

I think it can be kind of solution of using Java applet of SVG renderer. In this case image can be loaded as a program and executed. So a user can only capture screen to get your images, however a procedure how to draw it from scratch can be still undisclosed.


Retire your iPod and start with HD Android music player Kamerton | Minimal J2EE container is here | Light weight full J2EE stack | and build tool | Co-author of "Windows programming in Turbo Pascal"
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Originally posted by D Rog:
I think it can be kind of solution of using Java applet of SVG renderer. In this case image can be loaded as a program and executed. So a user can only capture screen to get your images, however a procedure how to draw it from scratch can be still undisclosed.


Can we make a seamsless layer on the image so that if someone is trying to copy the image this layer should be copied or printed or views or stored in computer cache instead of origional picture
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41835
    
  63
If it can be displayed by a browser -and that includes applets- then it can be copied by the user. What's more, it's always possible to take screenshots.

I would advise not to spend time investigating workarounds - they're bound to cause more problems than they solve, and not to work well to begin with.


Ping & DNS - my free Android networking tools app
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Originally posted by Ulf Dittmer:
If it can be displayed by a browser -and that includes applets- then it can be copied by the user. What's more, it's always possible to take screenshots.

I would advise not to spend time investigating workarounds - they're bound to cause more problems than they solve, and not to work well to begin with.


javascript: x()
banghead
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Originally posted by Farakh khan:


javascript: x()
banghead


It has nothing to do with JavaScript. It is the way the computer works. There are programs out there that you point at a website and it will take images, movies, sounds, etc and download them all. It always comes down to: If you do not want anyone to have it, do not put it on the net.

Eric
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Originally posted by Eric Pascarello:


It has nothing to do with JavaScript. It is the way the computer works. There are programs out there that you point at a website and it will take images, movies, sounds, etc and download them all. It always comes down to: If you do not want anyone to have it, do not put it on the net.

Eric


Thanks all for getting me your piece of precious time

Thanks again & best regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java & images