Re: Hiding code, preventing image theft is impossible (was: Question)

by Roxy <4Roxy(at)autumnweb.com>

 Date:  Fri, 16 Feb 2001 19:19:03 -0500
 To:  hwg-techniques(at)hwg.org
 In-Reply-To:  execpc
  todo: View Thread, Original

>What I can not remember, is the code needed to add which will eliminate 
>anyone from copying my source code when trying to view it.

LOL - Not possible!
Not now, not in the past, not ever.
Only vaguely *maybe* in the future, but only if browsers change tremendously.

If someone can view your page they can copy your code and your images, too. 
Actually, once they're at your page, they already HAVE your page and images 
in their computer!! It's in the cache file folder of the browser.

>I have the code which eliminates people from copying any images or text 
>from the surface page, and that is Java enhanced.

Click of a couple of buttons Java + Java Script is turned off. With J + JS 
turned off, one will be able to right click on any image and save it. I do 
it all the time! Not for an ulterior motive, but because I navigate via 
right clicking links a lot, and it ticked me off that someone *thinks* they 
can protect their images and code by making *MY* method of navigation 
inconvenient.

Or ... one can also go up to the menu on the top of the browser, choose 
"view" then "source" and see where your images are. Highlight the file/path 
to whatever image they want, ctrl-c to copy, go back to browser view, 
highlight and ctrl-v to paste, hit enter, and there is your image, fat and 
sassy and ready to be right clicked on.

>If someone can help me with
>this, I would appreciate it. I have seen sites which have only a few
>lines of code when you look at it but not the rest.

LOL - that's a trick and you were fooled.

Open your document up in Notepad or other text editor, type a few nonsense 
lines -- or go ahead, try to be clever and type "you aren't allowed to view 
the code" near the top of the raw HTML document. Hit some returns -- maybe 
20 or 30?? Save it, upload it. When viewing the source code, what you will 
immediately see is what you typed. BUT, there will be a scroll bar along 
the side of the page! Scroll down, you'll see the rest of the code.

Sorry to break that bubble ... but it's better to know, than *believe* you 
are protecting anything.

Roxy

http://autumnweb.com/Roxys/
free Tutorials/Web Page Help + free graphics/wallpaper for personal sites/use

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA