| | does any1 know how to prevent users from looking at your HTML? not just the disable right click method. another method, which stops them from the basic means. - yes i do not know what i mean by saying 'basic means'.
a script would be nice! |
|
|
why do people want them anyway? If your site isnt in plain html, then the worst someone can do is steal your layout... but if they havnt got the backend, their layout wont get much traffic, and everyone will knwo that yours was the original. If they make a backend, then they can make their own layout... I mean, if you can make a backend, then copying someone elses site layout takes no time at ... read more.
try searching the web for "HTML encryption"
http://www.google.com/search?q=html+encryp...earch&hl=en&lr=
I don't think that there is any foolproof way, but you can make it a bit more cumbersome so most ppl can't be bothered. f.ex. disable rightclick and then lock the page inside a frameset.
oh - and if you do, remember to hide the popup. If you don't, anyone who simultaneously click left and right mousebutton over the popup will get the rightclick menu.
isn't there a way by, adding some type of invisible flash file over it. so u can't click except on the flash itself.
I refer to my first reply. I have made an example for you.
http://www.400years.freenukehosting.com/fi...les/example.ace You can substitute thhe image with flash if you wish. Give it a try. :wink:
Try going to http://tinyurl.com/5ez2v and use the HTML encrypter there; it will scramble the source code into an unreadable mess. The page can be saved for use offline 8).
in short, there really is no way, since the source code has to be interpreted in an un-encrypted form by the browser and stored on the local machine. trying to do it will only make people more determined to get your code.
I totally agree with geancanach. (here's some reasons:)
Encryption can be easily circumvented - in some cases it only takes a few keyboard combinations. Some are platfom dependant, i.e. if you use mozilla or opera, the encryption often don't work or makes the page unreadable. Most claim to disable right click. Even if that was possible - ther's always other ways. Most claim to hide display links and address and messages in status bar, - this feature can be disabled in firefox and other mozilla browsers. Many of them stuff up any javascript you may be using. All you've achieved is more ppl checking your source code just to see what you're trying to hide. What you really want is to stop the novices lifting your code for their own webpages and the method i described will do just that, making it harder for them without making it to hard for yourself Latest Entries
why do people want them anyway?
If your site isnt in plain html, then the worst someone can do is steal your layout... but if they havnt got the backend, their layout wont get much traffic, and everyone will knwo that yours was the original. If they make a backend, then they can make their own layout... I mean, if you can make a backend, then copying someone elses site layout takes no time at all - so long as you can work out the colours.
For IPB people really cant view anything but the posts since the php is parsed at the server it justs sends all the data in HTML so not neccesary and it is just pointless.
QUOTE Try going to http://tinyurl.com/5ez2v and use the HTML encrypter there; it will scramble the source code into an unreadable mess. The page can be saved for use offline 8). ehh, put this in a php script and give it the "encrypted" html... CODE <?php if (isset($_POST['enc'])) { echo urldecode($_POST['enc']); } else { echo "<HTML><BODY><CENTER><FORM METHOD='POST' ACTION='".$PHP_SELF."'><TEXTAREA style='WIDTH: 95%; BACKGROUND-COLOR: #ebebeb' name='enc' rows=11 cols=58></TEXTAREA><INPUT TYPE='SUBMIT' NAME='DO IT!'></FORM></CENTER></BODY></HTML>"; } ?>
it will make quick work of your "Encrypted" HTML
Why would you want to encrypt your HTML?
Seriously, what's the point? If somebody wants to steal what you've done, they'll be able to if they have any knowledge of HTML, even if they can't get direct access to your code. It's fairly easy to build a site that looks like the original once you've seen it; I completely copied the style of Gmail without bothering to go into the inner-workings thereof, just to prove I could do it. When I build a site I borrow ideas from several; we take inspiration where we can get it. As for the Javascript right-click . . . it can be turned off. It's off by default on some browsers (Firefox), and there're other ways of viewing the source (toolbars, etc.). The best idea is just not to bother about it. Concentrate on making a good site rather than worrying about thieves who might copy it. QUOTE Aggressiveskating wrote:
QUOTE Smoothie wrote: Very Useful thanks. Try going to http://tinyurl.com/5ez2v and use the HTML encrypter there; it will scramble the source code into an unreadable mess. The page can be saved for use offline . Not very useful at all, i'm afraid. Here's why! For the purpose of this exercise i put this very simple source code thru the script! CODE <HTML>
<HEAD> <TITLE>Homepages</TITLE> <META NAME="Description" CONTENT=""> <META NAME="Keywords" CONTENT=""> </HEAD> <BODY BACKGROUND="bgn.gif" BGCOLOR="#FFFFFF" TEXT="#000080" LINK="#0000FF" BGPROPERTIES="fixed"> <P><br><br> Bob's homepage<br><br> <br><br> </P> <P ALIGN="center"><A HREF="javascript:history.back()"><IMG SRC="arrowbak.gif" ALT="Back" BORDER="0" WIDTH="19" HEIGHT="16"></A> <A HREF="mailto:mail@website.com"><IMG SRC="mailbox2.gif" ALT="Email" BORDER="0" WIDTH="16" HEIGHT="17"></A></P><br> </BODY> </HTML> This is what it looked like after the encryption! CODE <script>
<!-- document.write(unescape("%0D%0A%3CHTML%3E%0D%0A%3CHEAD%3E%0D%0A%3CTITLE%3EHomepages%3C/TITLE%3E%0D%0A%3CMETA%20NAME%3D%22Description%22%20CONTENT%3D%22%22%3E%0D%0A%3CMETA%20NAME%3D%22Keywords%22%20CONTENT%3D%22%22%3E%0D%0A%0D%0A%3C/HEAD%3E%0D%0A%3CBODY%20BACKGROUND%3D%22bgn.gif%22%20BGCOLOR%3D%22%23FFFFFF%22%20TEXT%3D%22%23000080%22%20LINK%3D%22%230000FF%22%20BGPROPERTIES%3D%22fixed%22%3E%0D%0A%0D%0A%3CP%3E%3Cbr%3E%3Cbr%3E%0D%0ABob%27s%20homepage%3Cbr%3E%3Cbr%3E%0D%0A%3Cbr%3E%3Cbr%3E%0D%0A%3C/P%3E%0D%0A%0D%0A%3CP%20ALIGN%3D%22center%22%3E%3CA%20HREF%3D%22javascript%3Ahistory.back%28%29%22%3E%3CIMG%20SRC%3D%22arrowbak.gif%22%20ALT%3D%22Back%22%20BORDER%3D%220%22%20WIDTH%3D%2219%22%20HEIGHT%3D%2216%22%3E%3C/A%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CA%20HREF%3D%22mailto%3Amail@website.com%22%3E%3CIMG%20SRC%3D%22mailbox2.gif%22%20ALT%3D%22Email%22%0D%0ABORDER%3D%220%22%20WIDTH%3D%2216%22%20HEIGHT%3D%2217%22%3E%3C/A%3E%3C/P%3E%3Cbr%3E%0D%0A%3C/BODY%3E%0D%0A%3C/HTML%3E")); //--> </script> For the sake of this exercise, we will just assume we know where the natural breaks, in the code, is and divide the script along the same lines. It will then look like this! CODE <script>
<!-- document.write(unescape(" %0D%0A%3CHTML%3E %0D%0A%3CHEAD%3E %0D%0A%3CTITLE%3EHomepages%3C/TITLE%3E %0D%0A%3CMETA%20NAME%3D%22Description%22%20CONTENT%3D%22%22%3E %0D%0A%3CMETA%20NAME%3D%22Keywords%22%20CONTENT%3D%22%22%3E%0D%0A %0D%0A%3C/HEAD%3E %0D%0A%3CBODY%20BACKGROUND%3D%22bgn.gif%22%20BGCOLOR%3D%22%23FFFFFF%22%20TEXT%3D%22%23000080%22%20LINK%3D%22%230000FF%22%20BGPROPERTIES%3D%22fixed%22%3E %0D%0A%0D%0A%3CP%3E%3Cbr%3E%3Cbr%3E %0D%0ABob%27s%20homepage%3Cbr%3E%3Cbr%3E %0D%0A%3Cbr%3E%3Cbr%3E %0D%0A%3C/P%3E %0D%0A%0D%0A%3CP%20ALIGN%3D%22center%22%3E%3CA%20HREF%3D%22javascript%3Ahistory.back%28%29%22%3E%3CIMG%20SRC%3D%22arrowbak.gif%22%20ALT%3D%22Back%22%20BORDER%3D%220%22%20WIDTH%3D%2219%22%2 0HEIGHT%3D%2216%22%3E%3C/A%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CA%20HREF%3D%22mailto%3Amail@website.com%22%3E%3CIMG%20SRC%3D%22mailbox2.gif%22%20ALT%3D%22Email%22%0D%0 ABORDER%3D%220%22%20WIDTH%3D%2216%22%20HEIGHT%3D%2217%22%3E%3C/A%3E%3C/P%3E%3Cbr%3E %0D%0A%3C/BODY%3E%0D%0A%3C/HTML%3E ")); //--> </script> As you can see, it aint rocket science. You simply start with the denominators common to all webpages i. e. %0D%0A%3C HTML %3E = <HTML> %0D%0A%3C HEAD %3E = <HEAD> etc. Of course, if you find this too cumbersome, you can always put the encrypted text back thru the converter script. :wink:
Similar Topics
Keywords : protect, source
(1) QUOTE As kids, we all loved Sesame Street’s Cookie Monster. (Who couldn’t relate to My idea for a new online racing game. (1) Okay, so recently I have had a brilliant idea... A new racing game. inspired by Live For Speed (LFS) (0) Tango Desktop Project ( Website link ) Tango Desktop Project is a resource for anyone. Its aim is that possible? (7) I am quite new to PHP and this concern came to my mind after playing around a bit with it... When (38) Ok, so you want to host your own CSS Server on your computer eh? Well you will not need a lot of How to protect your pages with password (9) The quickest way to get a password protection system up and running is to use a Prompt box in History, source, importance etc. (3) Vitamin is very well known nutrients to us. It required a little amount in our body but played a (6) Hi... members /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> (2) Here is a small text that tells why "Open Source Movement" may fail... HOW? (20) I create certain pages for my web-site, and I would like to protect them that no one can hack or see do you know of any open source web based accounting software (4) Hi all, I'm looking for an open source web based accounting software, preferably a PHP-MySQL Good open source variants of commercial software (9) 1.GIMP - GNU Image Manipulation Program || http://gimp.org GIMP is a good variant of Adobe A New Free Forum Software, Open Source, too (8) The new kid on the block has made quite a positive impression with me. I will be converting my (9) AK 47 Fire in short bursts, dont spam because you won't hit anything! (26) Not in the world, but in the series. Here is my synopsis: Oh yeah, it's kinda spoiler This script will allow you to protect your source coad ! (12) This script will help you to protect your source code Add this to Section of your site Mobile/wap source code viewer page (4) This is a source code viewer that will workl on wap/mobile sites but you can easily convert it to (11) -if i sent the page or an article about it to several online media or news websites this might prove (2) Well i had made this project some years before. It is a telephone directory which has a very good some general issues ... (7) was having trouble with my CS:S last night and found these FAQ's really helpful .. Q-How come (2) this is a dos program that you have been waiting for you learn from it you how to do graphic (45) What do you think? Currently Counter Strike 1.6 is being played by almost 10 times as many as (5) I have counter strike source , when a create server i haven't , under choosing maps , add bot . improve fps and performance (23) Hello everybody, my name is "WreacK" and i´ve played counter strike for quite some time now. I live templates for everybody (52) are you ready to share your ideas on the web but too busy to create a decent layout? browse these This one looks nice! (10) I've finally completed my message board source code! This one is very nice, and it has counter-strike: source (6) Best game ever! anybody else play this game?.... How (10) Is there any software or mechanism available which can protect my CD from being copied to another (3) Apprently you can tweak Source to showing your Ping time and everything in the corner of the screen, Looking for protect, source
|
![]() Protect your source! |
| ADD REPLY / Got an Opinion! | a humble request :-) | RAPID SEARCH! | Free Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute your information that might help someone here. Ask your Doubts & Queries to get answers.. "Together, We enlight each other!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|