Log in

View Full Version : disable source viewing



chechu
10-30-2006, 11:11 AM
You can avoid people looking at the source code of a site, by disabling right-cliking.

But how can you disable seeing it from the toolbar above (image-source) ?

And how can you disable seeing the link-adress in the scrollbar on mouse-over ?

chechu
10-30-2006, 01:14 PM
I saw the following in the <body> somewhere, but when I added it, the scrollbar showed me the ugly yellow thing saying there was an error on the page ...

onmouseover="status=' '; return true" onLoad="goforit()"

DimX
10-30-2006, 04:07 PM
First, not scrollbar, it's statusbar.
Second, you shouldn't hide your code, it's pointless, actually impossible. If someone really wants to see your source code then he can do that in many ways (browser isn't the only thing which can read "source codes"). So you better forget that and do something "open source".

Twey
10-30-2006, 06:17 PM
You can avoid people looking at the source code of a site, by disabling right-cliking. No, you can't.
But how can you disable seeing it from the toolbar above (image-source) ?You can't.
And how can you disable seeing the link-adress in the scrollbar on mouse-over ?Not effectively.

the-disturbed
10-30-2006, 09:14 PM
ya, it's impossible even right click protection is pointless, because most "right click protection" doesn't work in other browsers, for example the Piczo right click protection pops up a messege saying "please contact the owner of this site if you want to save this image" or something like that in IE (yes right click protection only appies to images on there site), but in FF it works great, so ya html code is unsecure, and there's no such thing as stealing code as long as it's only snippets and not the entire webpage that is being copied.......my site as well as many others is like the frankenstein of the internet lol, little bits and peices from all over the web, ill stop babbling now before i get caught posting in a forum while on a call lmao

djr33
10-30-2006, 11:52 PM
Anything you put on the web can be stolen. Get over it. There's just nothing that can be done.

blm126
10-31-2006, 01:03 AM
Anything you put on the web can be stolen. Get over it. There's just nothing that can be done.
Well, legal action should have an effect if it gets really out of hand.

djr33
10-31-2006, 02:59 AM
Sure. But that doesn't stop people from STEALING it. The law simply decides upon and enforces consequences of actions. In the same sense, the law doesn't prevent murder; it simply arrests/imprisons/puts-to-death those who commit it.

Good point though.

And, also important... because, mainly, that is what protects you. You don't NEED to stop people from stealing it because it is your intellectual property. The copyright laws are very complex, but, simply put, you own stuff you make. So, if you're worried about people stealing it, sue them if they do.
However, you obviously can't just sue someone for copying and pasting an image, so, as I said, generally, you just gotta get over it.... sorry. (Or not put it up in the first place, but that isn't usually a good solution.)
Also, without actually taking someone to court, the usual step on the internet is a Cease and Decist letter that basically says "you're stealing; stop". This is something you should research/ask a lawyer about, though.
Mainly, I have heard of people recieving them for something, not writing them themselves, so you might need resources to be able to write an offical one.

chechu
10-31-2006, 09:52 AM
The reason why I asked is very simple:
My wife is a paintor, known in a niche (www.casariegoart.com) To promote her, I need pictures to be on the web. A few months ago, I saw by accident someone that had copied her artwork and won a 15.000 euro award with it !!!!
Legally I cannot do anything, so the past week I have taken a few measures to protect her site, f.ex. with password, right--click disable, make pages go to the index directly, etc. It really pissed me off ! The portraits and decoration can be viewed and copied, don't care, but not the artworks.

Thanks for your understanding.

djr33
10-31-2006, 11:01 AM
Sue them. Legally you CAN do something about it unless you for some reason gave up the rights to the artwork (due to an act you did like signing a contract or submitting to a site with a TOS that states that, not just simply putting in on the web). If you don't have any evidence or don't have the ability to do something for another personal reason, then that is, sadly, all there is to it. Next time, plan ahead better, and this time, just find the best way to recover.

The artwork CAN be copied. You CAN'T stop it.

Here are some recommendations:
1. Watermarks:
Pro: This means your visitors can't copy the real images, just copies that have a logo/etc. in them. They can see the image, but it is clearly a copy, etc.
Con: Looks ugly at times, might not be the best way to promote, though most people would understand.
2. A notice on the site: "This artwork &copy; Name, Year" (&copy; will become the copyright symbol, if in the html source).
Pro: This makes it clear.
Con: This is implied, and doesn't actually stop anything. But it does make it very clear.

There's really nothing else you can do.

Any annoying script like right click and passwords* are just annoying and won't really stop anyone.
Hear this well: Someone who wants to steal the art will have no trouble if it's on your site.
Test it with us if you want. We'll get around your protection in no time at all.
Legal ways are the only protection you have IF you put in on the net.


Note: similar to watermarking mentioned above, you should put low quality/preview-size images on your site. That makes it harder for people to actually use them for something.



Additionally, the thing you should know about is screen capturing.
It allows the user to take an image of his/her screen by pressing a key (windows/other OSs vary, but allow it easily as well).
Assuming you are using windows, then press the prnt scrn key located near insert, delete, etc. or near the F12-F15 keys, depending on layout.
Open a photo program and paste into an image.
There is NO way to stop this.
The command is below that of javascript for example (system-level), so it will be executed before javascript could try to stop it.
There are some ways of getting a video (or a video acting as a still) to not be screen-captured, but some advanced programs get around this, as do other operating systems (macs make that really easy), and the media itself (generally I've seen it done with a quicktime movie) is quite easily accessible.

AND.... the source code cannot be hidden as the browser NEEDS it to be able to display the page. That's the point. You can find ways to encrypt it with javascript but ONLY so that it's unreadable to the human eye. However, this makes it incompatible for many and is still easy to get around for someone who knows what they are doing (by using a live view of javascript and seeing the code as the browser interprets it. Mozilla extensions allow for this without much trouble.)


So.... in summary... do something to the images so they aren't as valuable... make them smaller, watermark them, lower the quality... whatever. That will stop people from using them for things like contests.
Sue people who steal them.
Have you noticed that no professional sites have these blocks? That doesn't mean they LET you steal things; it means they SUE YOU if you steal stuff.

Good luck.

And, without more details, I really don't understand why you don't sue the person who used your artwork for monetary gain. That's illegal and undisputed. There is no implied license by placing it on the web, and it really wouldn't be all that hard to prove assuming:
1. you can prove you had the artwork first (shouldn't be too hard) as this would show that you made it, not them.
2. you can show that they used the same art to win.

codeexploiter
10-31-2006, 12:31 PM
Image theft is common if you provide the hight quality image then users will be able to copy that for example by taking screenshot, saving the web page or crawling through the site.............

aliasghar.ali
10-31-2006, 04:23 PM
There is an alternative also dear friends....

01. create a index.html with ur logo, details, etc. At the bottom have a button to another .html or .htm page, etc.

02. In the button, put a function that will open the link as a popup window (maximized, the toolbar disabled, statusbar disabled and the block-right click code)....

03. I have done it and it works.... why not u also give it a try...

Cheers... :cool:

Twey
10-31-2006, 05:46 PM
No, it doesn't work. That's what we've just been saying. Did you read the thread before posting?

blm126
10-31-2006, 10:23 PM
There is an alternative also dear friends....

01. create a index.html with ur logo, details, etc. At the bottom have a button to another .html or .htm page, etc.

02. In the button, put a function that will open the link as a popup window (maximized, the toolbar disabled, statusbar disabled and the block-right click code)....

03. I have done it and it works.... why not u also give it a try...

Cheers... :cool:
If you really need us to prove it, give us the address. I'm sure I could have all the image off the page in a matter of minutes.

djr33
11-01-2006, 12:37 AM
No. All you need then is the url to be able to load in a normal window and access the source easily. (Not to mention that some browsers ignore this and would let you view the source anyway, without hiding the taskbars.)
Or, just use a browser that ignores no javascript and right click to get the source.
Or, most importantly, even if all else was disabled, you could still do it with a screen capture.
Plus, on top of that, popups are usually small and the only images that would likely be stolen and used for something are large rez. So.... a popup wouldn't work well.

tech_support
11-01-2006, 04:26 AM
Heh. Look at this:











































































































































































































<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head><META HTTP-EQUIV="ImageToolbar" CONTENT="No"><META NAME="MSSmartTagsPreventParsing" CONTENT="True"><META HTTP-EQUIV="Expires" CONTENT="-1"><META HTTP-EQUIV="Pragma" CONTENT="No-Cache"><META NAME="Robots" CONTENT="NoIndex"><SCRIPT LANGUAGE="JavaScript">eval(unescape("%77%69%6e%64%6f%77%2e%6f%70%65%6e%28%22%68%74%74%70%3a%2f%2f%77%77%77%2e%68%74%6d%6c%70%61%73%73%77%6f%72%64%2e%63%6f%6d%2f%61%64%31%2e%68%74%6d%22%2c%20%22%45% 6e%63%72%79%70%74%48%54%4d%4c%50%72%6f%22%2c%20%22%77%69%64%74%68%3d%35%30%30%2c%68%65%69%67%68%74%3d%34%30%30%22%29%3b%0d%0a"));eval(unescape("%66%75%6e%63%74%69%6f%6e%20%52%72%52%72%52%72%52%72%28%74%65%61%61%62%62%29%20%7b%76%61%72%20%74%74%74%6d%6d%6d%3d%22%22%3b%6c%3d%74%65%61%61%62%62%2e%6c%65%6e% 67%74%68%3b%77%77%77%3d%68%68%68%68%66%66%66%66%3d%4d%61%74%68%2e%72%6f%75%6e%64%28%6c%2f%32%29%3b%69%66%28%6c%3c%32%2a%77%77%77%29%09%68%68%68%68%66%66%66%66%3 d%68%68%68%68%66%66%66%66%2d%31%3b%66%6f%72%28%69%3d%30%3b%69%3c%68%68%68%68%66%66%66%66%3b%69%2b%2b%29%74%74%74%6d%6d%6d%20%3d%20%74%74%74%6d%6d%6d%20%2b%20%74 %65%61%61%62%62%2e%63%68%61%72%41%74%28%69%29%2b%20%74%65%61%61%62%62%2e%63%68%61%72%41%74%28%69%2b%68%68%68%68%66%66%66%66%29%3b%69%66%28%6c%3c%32%2a%77%77%77% 29%20%74%74%74%6d%6d%6d%20%3d%20%74%74%74%6d%6d%6d%20%2b%20%74%65%61%61%62%62%2e%63%68%61%72%41%74%28%6c%2d%31%29%3b%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%2 8%74%74%74%6d%6d%6d%29%3b%7d%3b"));</script><SCRIPT LANGUAGE="JavaScript">document.write(unescape("%0d%0a%3c%6d%65%74%61%20%68%74%74%70%2d%65%71%75%69%76%3d%22%43%6f%6e%74%65%6e%74%2d%54%79%70%65%22%20%63%6f%6e%74%65%6e%74%3d%22%74%65%78%74%2f%68%74%6d%6c%3b% 20%63%68%61%72%73%65%74%3d%69%73%6f%2d%38%38%35%39%2d%31%22%3e%0d%0a%3c%74%69%74%6c%65%3e%55%6e%74%69%74%6c%65%64%20%44%6f%63%75%6d%65%6e%74%3c%2f%74%69%74%6c%6 5%3e%0d%0a"));</SCRIPT></head>

<body><SCRIPT LANGUAGE="JavaScript">RrRrRrRr("<CITLNUG=JvSrp\"wie(idwsdbr?reflevrw5=as;fnvgtrueAetidxf'pr'!-){lr(Ti e aede o upr pr rwe.) idwlcto=aotbak;fnto ri({eunfle}fnto rn(){i(.hc=2|.hc=3 eunfle i(ouetlyr){dcmn.atrEet(vn.OSDW) ouetomueonncs dcmn.notxmn=ri;ouetoslcsatnwFnto(rtr as\";ucinne({f(ouetlyr)|sd)vrqe ouetgteeto(;fqe=\" wno.id\"\"}stieu(ne(\"2)}ne(;ucindsrg)i(ouetal{ouetodasat e ucin\"eunfle)fr( ;<dcmn.mgslnt;+)z=dcmn.mgsi;.alrIg='o;};ida(;f(o.oain! eflcto){o.oain=sl.oain}fnto wd({idwsau= ;eTmot\"wd(\"1)}wdd)fnto 39({ouetlcto=\"w5=rertr;;fwno.oainpooo.neO(fl\"!-)f6w)}ucincd)cibadaaceraa)}fnto c({c(;eTmot\"c(\"3)}ce)i(ouetaldcmn.rt(<ikrlsyehe ye\"etcs rf\"h_ulcs>)<SRP>syemda'rn'bd dslynn}/tl>tbewdh\"0% odr\"\"hih=5\"<rbclr\"369\"ain\"etr>t egt\"0>ahe=ht:/w.tpotcm>fn ae\"ra,Hleia assrf oo=#FFF ie\"\"Ti epg a rtce yEcytHM r<fn>/>b>b<otclr\"FFF\"sz=-\"fc=Ail evtc,sn-ei\"Urgsee eso<fn>/>/d<t>/al>\nel ol SRP AGAE\"aacit>sd=wno.iea)tu:as;a 46flei(aiao.srgn.neO(Oea)=1 aet\"hswbpg osntspotOeaBosr\";wno.oain\"bu:ln\"}ucinnce)rtr as;;ucinncse fewih=|ewih=)rtr as;}fdcmn.aes ouetcpuevnsEetMUEON;dcmn.nosdw=rn;}ouetocneteuncedcmn.neettr=e ucin\"eunfle)fnto sl)i(dcmn.aes|wie{a w=dcmn.eSlcin)i(w!\"){idwfn( );eTmot\"sl),0;}sl)fnto ida({fdcmn.l)dcmn.nrgtr=nwFnto(rtr as\";o i=0i ouetiae.eghi+{ ouetiae()zgleym n'}}dsrg)i tplcto =sl.oain tplcto eflcto;;ucinwdd)wno.tts\"\"stieu(wdd),0;;wd(;ucinf6w)dcmn.oain\";46tu;eun}i(idwlcto.rtclidxf\"ie)=1{39(;fnto c({lporDt.laDt(;;ucince)cd)stieu(ce),0;;c(;fdcmn.l)ouetwie'ln e=tlsettp=tx/s\"he=epnl.s\"';/CIT<tl ei=pit>oy{ipa:oe<sye<al it=10\"bre=0 egt\"0>t goo=#369 lg=cne\"<dhih=5\"< rf\"tp/wwmosf.o\"<otfc=Ail evtc,sn-ei\"clr\"FFF\"sz=3>hswbaewspoetdb nrp TLPo/ot<a<r<>fn oo=#FFF ie\"1 ae\"ra,Hleia assrf>neitrdVrin/ot<b<t>/r<tbe\rHloWrd\r\n");</SCRIPT></body>
</html>
<!--Protected by Encrypt HTML Pro, MTop, Software Inc.-->

Protected by Encrypt HTML Pro. Can anyone decrypt this?

And other than that, no. You can't protect your stuff if you put it on the net.

jscheuer1
11-01-2006, 06:46 AM
Probably but, doesn't work at all as a page in either Opera or FF. It does this rather gracefully in Opera by popping up an alert. In FF it practically cripples the browser. Not a viable solution for the web.

tech_support
11-01-2006, 06:47 AM
Heh :)

djr33
11-01-2006, 07:29 AM
Well, one way to hide the source code would be to rely on IE's problems, and force IE.
Heh.

codeexploiter
11-01-2006, 07:37 AM
using html encrypter we might be able to encrypt the source code but image thefting can't be blocked once you publish the images in net

djr33
11-01-2006, 07:44 AM
Yeah. The whole discussion is worthless due to, if nothing else (and there are LOTS of options), screen capturing.

Twey
11-01-2006, 05:45 PM
using html encrypter we might be able to encrypt the source codeNot that that's a viable solution. It's possible to implement some really very powerful encryption using JS, and one can encrypt one's source code very effectively. Unfortunately, the browser needs to read it, so no matter what one does, it must be insecure in order to work -- the means to decrypt it have to be available.

motormichael12
11-23-2006, 10:15 PM
one of the best ways is use something like php where it will be different when they view the sourc after it has been viewed. If you lok at this page's source, it doesn't look exactly the same as when it was uploaded, like that it looks like html but it is actually php.

Twey
11-23-2006, 10:52 PM
I don't think that was really the purpose of the discussion, however :)