Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java & images

 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65104
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only solution is to not put them on the web.
 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:
The only solution is to not put them on the web.


 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65104
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic