Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ò How do I hide my source code and protect my images

Source Code

ò How do I hide my source code and protect my images

by  SPYDERIX  Posted    (Edited  )
Hi,

This question has been asked so many times that it can't be kept track of anymore.

The answer to this extrememly frequent question is:

[color red]YOU CAN'T[/color]

Anything in the source code is client side language that browser needs to interpret the site you are viewing, without it there is no site. Even using such methods as no-right click, and disabling the view source menu are pointless, because any determined person can get what they want. Your pages are stored in the cache so retrieving that page wouldn't be hard to do either, and if you use a fancy script to hide the source via Javascript or VBscript, chance are those scripts are not cross browser, therefore just by viewing a page in another browser could help obtain the source code.

And as for those scripts that that encrypt your code, they are usually made with javascript/VBScript and can be easily decrypted.

The same applies to pictures. You can't protect your pictures on the net either, b/c you can do various things to get them too: drag the pictures into the address bar, get them from the cache, print screen, snapshot (Mac), etc.

If you don't want anyone getting your source code or your pictures, then don't publish them to the web.

Hope this helps!

[sup]thanks to sheaffer for the part on encryption[/sup]


NATE

[img http://www.mainframe-webdesign.com/tt/mainframe.gif]
http://www.mainframe-webdesign.com
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top