Secure Html Images ?

Status
Not open for further replies.

boosters

In the zone
I want to secure my html images on website. Suppose when someone try to click right click on my image than the pop will comes and shows the "Please don't save my images". how should i do. What the code ?.
 

Faun

Wahahaha~!
Staff member
javascript,
but a geek will always find a way to crack the measures.
 

victor_rambo

हॉर्न ओके प्लीज़
To protect images, simply add a © -your name, your site name on the image. Be sure that the images originally belong to you.

The disabling right-click method can foll noobs but not people who are 'determined' to steal your image.
 
Last edited:

iMav

The Devil's Advocate
use watermarks+right click disable will definitely act as a deterrent
 

nileshgr

Wise Old Owl
How about CSS Images ?
Define a CSS class and give it the property background-image and others.

Be sure to deny access to the CSS file using apache .htaccess

Code:
<FilesMatch *.css>
Order allow,deny
Deny from All
</FilesMatch>

Place the above code in the directory where you store the CSSes in a file called .htaccess :)
 

slugger

Banned
but if a person save the page on his HDD, then nobody can be stopped from accessing the images

not a very hard thing to figure out
 

ranjan2001

Cyborg Agent
THe best method I have found which is very secure & full proof is not put ur images on the web (public domain).....................nobody will see it ................hence nobody will want to steal it.

Rest all methods fail.

Web was meant for public sharing thats why its WWW.
 

nileshgr

Wise Old Owl
but if a person save the page on his HDD, then nobody can be stopped from accessing the images

not a very hard thing to figure out
suppose you store the images under a uncommon directory i.e. other than img or images ; and use CSS method, then how will you steal images ?
 
V

vaibhavtek

Guest
There is a software that do that here

There is also a script:-
Put this on <head> section:-

<script type="text/javascript">
<!-- Begin
function whichElement(event) {
var tname
tname=event.srcElement.tagName
if (event.button==2 && tname=="IMG"){pressed="picture"}
if (pressed=="picture")
{window.alert("Oops !! Sorry !!")}
pressed=0
}
//-->
</script>

and whre u insert image type this
:-
<img border="0" src="image path" onmousedown="whichElement(event)" usemap="#FPMap4"></p>

Hope it helps...!!!

The site : carmelite.netfirms.com is half made by me just visit there and goto Snaps section and right click the image.

In the last line of the HomePage see it is written:-
Maintained By: Vaibhav.
 
Last edited by a moderator:

nileshgr

Wise Old Owl
There is a software that do that here

There is also a script:-
Put this on <head> section:-

<script type="text/javascript">
<!-- Begin
function whichElement(event) {
var tname
tname=event.srcElement.tagName
if (event.button==2 && tname=="IMG"){pressed="picture"}
if (pressed=="picture")
{window.alert("Oops !! Sorry !!")}
pressed=0
}
//-->
</script>

and whre u insert image type this
:-
<img border="0" src="image path" onmousedown="whichElement(event)" usemap="#FPMap4"></p>

Hope it helps...!!!

The site : carmelite.netfirms.com is half made by me just visit there and goto Snaps section and right click the image.

In the last line of the HomePage see it is written:-
Maintained By: Vaibhav.
what about browsers who have disabled JS ?

also don't forget bots. they index images especially Google shows them in image results. :)
 

ranjan2001

Cyborg Agent
suppose you store the images under a uncommon directory i.e. other than img or images ; and use CSS method, then how will you steal images ?

U seem to be ignoring the fact that css or no css the images still have to download to my computer & then I can do what ever I want.

Just go to IE temp folder & get the image...........................worse I can always take a screenshot.

Best method is not to post the image on the web.
Web is for showcasing & sharing not meant for securing, have u ever seen military maps on the web?
why not?
 

nileshgr

Wise Old Owl
U seem to be ignoring the fact that css or no css the images still have to download to my computer & then I can do what ever I want.

Just go to IE temp folder & get the image...........................worse I can always take a screenshot.

Best method is not to post the image on the web.
Web is for showcasing & sharing not meant for securing, have u ever seen military maps on the web?
why not?
you can prevent caching also by the HTTP header definition no-store

*www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
 

ranjan2001

Cyborg Agent
you can prevent caching also by the HTTP header definition no-store

*www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

It wont let u save the image in cache for sure but you can still get the image from the cache without closing the browser.
No cache is only meant that once the browser is closed the the image should be deleted.

U always have the print screen & if u can find a way to disable that then there are many softwares to record the screen....................u have to find another method to disable these software too..................so the moral of the story is either be on the web or don't be on the web.
 

nileshgr

Wise Old Owl
It wont let u save the image in cache for sure but you can still get the image from the cache without closing the browser.
No cache is only meant that once the browser is closed the the image should be deleted.

U always have the print screen & if u can find a way to disable that then there are many softwares to record the screen....................u have to find another method to disable these software too..................so the moral of the story is either be on the web or don't be on the web.
:lol: :lol: :lol:
 
V

vaibhavtek

Guest
what about browsers who have disabled JS ?

also don't forget bots. they index images especially Google shows them in image results. :)

I know only by JS.
I disabled i donot know how to then blick image.
And infact it can also be done by php but as i donot know that i cannot help.
Sorry.. :(
But I am learning php... :D
 

victor_rambo

हॉर्न ओके प्लीज़
I know only by JS.
I disabled i donot know how to then blick image.
And infact it can also be done by php but as i donot know that i cannot help.
Sorry.. :(
But I am learning php... :D
PHP?
Isn't it supposed to be a server side language?
btw it can't be done with PHP.
 

ranjan2001

Cyborg Agent
Secure Image Pro OSX 4.0 can do what u want & I can copy the images when u use this, want to try????
*www.download3000.com/download_21817.html
 
Status
Not open for further replies.
Top Bottom