Kaisa
02-09-2003, 08:15 AM
Is there a way to block people from viewing my source code on my website like disabling view > source so people can't view the source ?
|
Click to See Complete Forum and Search --> : Hey , Don't Copy my website ! Kaisa 02-09-2003, 08:15 AM Is there a way to block people from viewing my source code on my website like disabling view > source so people can't view the source ? Stefan 02-09-2003, 08:19 AM Yes, don't place it on the internet. Other then that, NO! Kaisa 02-09-2003, 08:39 AM but i saw websites that block people from viewing or editing the source code and i wonder how can i put that code on my website so people can't view the source code on my website. I think juno.com has something like that khaki 02-09-2003, 09:11 AM Hi Kaisa If you type the words "source code" into the search box in this forum, you will get more than enough information, opinion, and attitude about this topic than you can imagine. Have a good read, and if your still convinced that there is a way to hide your code, then... let us know how to do it, because EVERYBODY here would love to know (wink). k * hey Stefan - why you being so grouchy? It seems that you are in "attack mode" more than "help mode". You almost got my morning off on the wrong foot, but I've decided to forgive ya. Do a silly girl a favor and put a smile on that face of yours (wink). Stefan 02-09-2003, 09:58 AM Originally posted by khaki * hey Stefan - why you being so grouchy? Becuse this is asked 3 times a week, and gets kind of repetetive. I am however sorry for snapping at you earlier today. Double sorry becuse I was even wrong. :o khaki 02-09-2003, 10:15 AM Hey Stefan, I didn't ask for an apology (I told you that I had already forgiven you). So put away the :o and give me the :) that I asked for. (...but it was sweet of you to apologize anyway, 'cause it's sounds like you really mean it. wink) Silly no more (yeah, right!!) k Stefan 02-09-2003, 11:42 AM Originally posted by khaki So put away the :o and give me the :) that I asked for. OK :) khaki 02-09-2003, 11:47 AM sometimes it the little things that make a girl happy, Stefan. t-h-a-n-k y-o-u k Inner429 02-11-2003, 08:03 PM I think i found something that might help, not sure though. It's a free file called 'Encrypt-A-Script'. It encrypts sources codes so no one can edit or steal your source code, and comes with a unencryption device too. If you wanna check it out, the link is below. http://webdeveloper.earthweb.com/webjs/jssecu/item.php/96811 Kaisa 02-12-2003, 07:41 AM I just have to say thanks i know most people won't just go out and look for it thanks a lot ! Inner429 02-12-2003, 04:43 PM I just have to say thanks i know most people won't just go out and look for it thanks a lot ! :) no prob. khaki 02-12-2003, 05:01 PM Well Kaisa, you gotta admit, it's a long way from... Kaisa wrote: Is there a way to block people from viewing my source code on my website like disabling view > source so people can't view the source ? ... to Kaisa wrote: i know most people won't just go out and look for it Anyone who is intent on viewing your source code can do everything that you are doing to hide it - so they can unhide it with the same amount of effort. All I can say is... you must have some wild code that your trying to hide. People are gonna be lining up to take a crack at reading your source code (wink). k Kaisa 02-12-2003, 10:30 PM Well its better then nothing because most people will not to know where i hide it from so it takes out some of the people on the internet but i want that just so people won't look at my source code but of course the code i use won't be anything that people would want to protect but it makes me happy ! khaki 02-13-2003, 09:22 AM Interesting. You come here asking people to share information with you. Then you take that information so that you can build a big secret wall around yourself, and in doing so, you become everything that this forum is not about. ... and you do all of this for no other purpose than to make yourself "happy". Whatever floats your boat, but I can only imagine that some people in this forum will view your exclusionary attitude as reason to NOT help you in the future. But like I said... whatever floats your boat. Also happy (but not doing a good job of showing it) k Stefan 02-14-2003, 10:43 AM Originally posted by Inner429 I think i found something that might help, not sure though. It's a free file called 'Encrypt-A-Script'. It encrypts sources codes so no one can edit or steal your source code, HAHAHAHAHAHAHA Thanks mate... that's the best laugh I had all week. However I'm not sure everybody here understood you were joking when you made that statement and might still live in the utterly wrong belife that their ducuments are secure. Inner429 02-14-2003, 11:09 AM However I'm not sure everybody here understood you were joking when you made that statement and might still live in the utterly wrong belife that their ducuments are secure. If you look at mine, it says it MIGHT help. Quit being such a ***** too. khaki 02-14-2003, 11:43 AM Quit being such a ***** I'm not sure who in particular that statement is directed - but it is out of line regardless. k Stefan 02-14-2003, 12:14 PM Originally posted by Inner429 If you look at mine, it says it MIGHT help. OMG, you were obviously serious in your statement "It encrypts sources codes so no one can edit or steal your source code"... That is even more funny... :D Quit being such a ***** too. I'm having fun. You are whining. How does that makes ME the "*****" ... :p pyro 02-14-2003, 01:04 PM Here is a simple bit of code to uncompile any thing that that wonderful little encrypter tries to encode. <html> <head> <script language="javascript" type="text/javascript"> function unencode() { test=unescape(document.code.text.value); document.code.text.value =""+test+""; } </script> </head> <body> <form name="code"> <textarea name="text" rows=10 cols=100></textarea> <input type="button" name="decode" value="decode" onClick="unencode();"> </form> </body> </html>It also works quite nicely on files encoded with http://www.dynamicdrive.com/dynamicindex9/encrypter.htm bellybytes 02-16-2003, 10:23 PM I was once a sucker for the "encryption" - I saw it in a code I was "peeking" at because I loved the layout of the site - well anyway, I was detered by it so I went hunting down info on encryption, found a couple sites that will encrypt sections and used it on some graphics I have on the web - you know, the age old "How can I protect the graphics from being stole" issue. Well, I know there is really no sure way, but thought this would deter some as it did me when I saw it for the first time. So I'm working in my pages the next day and what do I notice - the very links I wanted most to encrypt, were there as crystal clear as could be for the whole world to pick out if they wanted to. So, you take your chances in the end. And hope, if you sell graphics or something similar, that you get honest visitors - that's about all you can do. Oh wait - there is one more thing - realize that nothing is ever totally hidden from any theif on the Internet, accept it and deal with it. It's part of life in cyberspace. Conker's 02-19-2003, 07:56 AM You can try to disable the tool bar and status bar but ppl can still copy you code by useing HTTrack this is a program that will copy the whole of your site and can be used off line. If you still wasnt the code anyway send me a e-mail (oblivionmuzic@ntlworld.com) because i will have to dig it up for you.:p khaki 02-19-2003, 08:25 AM Ah, yes. The toolbar and status bar trick. Only the highly-advanced technology known as "right-click" can penetrate that armor. I cannot believe that this thread hasn't gone away after "happy kaisa" left for parts unknown (well, some people may know where he went, but not most people. LOL!). Seriously folks, are there people out there who still think that they are going to truly hide their code from everyone? And the more important follow-up question to that is: what's the point in wanting to hide it anyway? The entire internet is out there for everyone to see. What makes your code so special that it requires special protection? Just get over it. We are all naked on the internet. Put your shame aside and frolic in the freedom of the wide world web. (and personally, I think that only bad coders are looking to hide their code. But that’s just my opinion – for whatever it’s worth). Out there for all to see and loving every minute of it (wink)… k DaveSW 02-19-2003, 09:55 AM Check this out - to disable right click save as - the easiest way to pinch a picture. Use a dhtml filter over the top. I found a tutorial with MSE (Microsoft Scripting Environment) to use dhtml filters to add glow effects etc, and adapted it to this. Save picture as option is disabled because all that's under the mouse is a filter! <HTML> <HEAD> <TITLE>Static Alpha Filter Demo</TITLE> </HEAD> <BODY> <DIV STYLE="position:absolute; top:20; left:15; width:300; height:272; background-color: blue; filter: alpha(opacity=0)"></DIV> <DIV STYLE="color:red; position:absolute; top:20; width:50%; height:100; margin-top:5; margin-left:5;"> <P STYLE="font-size:14pt; font-weight:bold; text-align:center">Roller Conveyor</P></DIV> <IMG SRC="file:///C|/WINDOWS/Desktop/ Pics/Image0.gif" WIDTH="300" HEIGHT="272"> </BODY> </HTML> Let me know if it works for anyone else. Ofcourse, anyone on a non-html 4.0 browser is unaffected, so it's not perfect, but that standard is quite old! there are options in dreamweaver for disabling right clicks too. Then again, khaki is quite right because you can always use a screen capture... Conker's 02-19-2003, 10:03 AM They is always a way to see other ppls html code but the code that follows is only a temp measure to hide the code. The Java Right Click code <!--JavaScript No Right Click--> <SCRIPT> function right(e) { if (navigator.appName == 'Netscape' &&(e.which == 3 || e.which == 2)) return false; else if (navigator.appName == 'Microsoft Internet Explorer' &&(event.button == 2 || event.button == 3)) { alert("Right click has been disabled, this is copyright material. © 2003"); return false; } return true; } document.onmousedown=right; if (document.layers) window.captureEvents(Event.MOUSEDOWN);window.onmousedown=right; </SCRIPT> No Scroll Bars etc code <!--JavaScript No Sroll Bar etc--> <SCRIPT language="JavaScript"> <!-- // function openWindow(url, name, width, height) {mywin = window.open(url, name, 'width=' + width + ',height=' + height + ',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0')} // --> </SCRIPT> <BODY> <A href="javascript:openWindow('main_minted.html', 'main_minted',height=600,width=400)">Link to Site or Page Text Here</A> </BODY> HTTrack is a good progrm to download a whole web site, if you download this it will give you Specific code to put in your html code which will disable the program from downloading your site. khaki 02-19-2003, 10:20 AM hide and seek is for children (does anybody ever stop to consider that maybe nobody wants to see your code?) personally, i think web developers should put their efforts into writing quality code - not secret code. quality code is a thing to be proud of. bad code should be hidden away (preferably off of the web and into the recycle bin). someone should take a poll: have you ever visited a site that was so EXCELLENT that you just HAD to have the source code... but it was "hidden"? i give up Conker's 02-19-2003, 11:05 AM No code is hidden, post the web site address and i will get the code for you unless it was done in flash, no one can get the code only the movie. SeGamysa 02-19-2003, 12:18 PM Originally posted by khaki hide and seek is for children (does anybody ever stop to consider that maybe nobody wants to see your code?) personally, i think web developers should put their efforts into writing quality code - not secret code. quality code is a thing to be proud of. bad code should be hidden away (preferably off of the web and into the recycle bin). someone should take a poll: have you ever visited a site that was so EXCELLENT that you just HAD to have the source code... but it was "hidden"? i give up I have to agree with you. People should spend less time worrying about how to protect code and consentrate on making better code. just my .02 Conker's 02-19-2003, 12:55 PM if you spend a lot of time writing the code you want some kind of protection ppl like you want to cut and paste it ok ppl like us. But every web page or site does not have a protected source code, like the codes above these are just temp measures to slow down the ppl that want the source code. I haven’t come across any web site that has a hidden source code? But when I do I can guarantee that I will be able to revel it source code in full. khaki 02-19-2003, 01:28 PM OK Conker's, whatever you need to do. I really don't care (so why am I continuing with this ridiculous discussion is beyond me). I'm just saying that you CAN'T hide your source code completely, and if you feel the need to hide it as much as you possibly can, then I guess there is a reason behind this type of inane topic. if you spend a lot of time writing the code you want some kind of protection ppl like you want to cut and paste it News Flash: I come HERE for help with my pages. Why would I want to go to a selfish paranoid's website to steal his really awesome code? I write my own code, thanks - I have no interest in yours (nor does anyone else for that matter - so get over yourself). I can guarantee that I will be able to revel it source code in full. Wow! Ya really think so? No kidding genuis. That's the point! And it's the "attitude" of people like you who keep this dopey topic alive. In a nutshell: YOU come here for help. Then you run and hide with the FREE help that you just got from someone else, and HIDE it away from the rest of the world. So... stop hiding other people's work as if it's yours to hide in the first place. I don't understand how the logic of that is lost on you. The people who spend their time helping others are sharing, not hiding. The people who belong on this forum are NOT looking for protection. The fact that you are.... end of topic k Conker's 02-19-2003, 01:54 PM Sorry khaki, that was not my point, I was just saying that no one can protect they source code, and I do try to help ppl in here if I know it I will share it with others. VERY SORRY, I DIDN’T MEAN ANYTHING BY IT SORRY khaki SeGamysa 02-19-2003, 02:10 PM Originally posted by Conker's if you spend a lot of time writing the code you want some kind of protection ppl like you want to cut and paste it ok ppl like us. But every web page or site does not have a protected source code, like the codes above these are just temp measures to slow down the ppl that want the source code. I haven’t come across any web site that has a hidden source code? But when I do I can guarantee that I will be able to revel it source code in full. Frankly If I write awispring code I would be glad to share it. I feel proud when some one uses code that I write and if they add on to it I feel even better about it. maybe it's just me. khaki 02-19-2003, 02:29 PM maybe it's just me Nope. It's not just you (me too). Some people just don't get it though, and try to turn this all into some kind of weird competition or something. I think that your views are solid, SeGamysa. I probably get a little sensitive on the subject, but I won't apologize for that. We are living in a great day for the internet (not unlike the first Woodstock, I would guess) - until people with views like Conkers and Kaisa start shutting it all down (which would probably be like the 2nd Woodstock - when corporations killed it's meaning). Free the World Wide Web... k Da Warriah 02-19-2003, 03:33 PM hey, i agree with you totally...the web is open for anyone to see, and the only thing you can do is slow people down from copying your code...so whats the sense in even trying?? and again, why is YOUR code so special?? its possible for anyone to achieve the EXACT same effect without ever even seeing your site...because web languages are limited...theres only a certain number of tags/functions/effects that you can use, so its not like youve created your own new and totally different effect that no one can achieve without viewing your code... that said, if i were to create code for the purpose of sharing (or even NOT sharing, just on my site), i would request that they leave comments intact, to give me the credit...firstly, id like some credit for what i made, and secondly, if the person that copied it has no idea what the heck the code does, other than it works, and then Person B comes along to that Person A and asks if he can have the code, has trouble with it, whos going to help HIM?? person A has no idea whats going on, and if there are no credits, how is person B going to know who DOES know how to fix it?? dunno, maybe its just me, but id at LEAST like some credit for the work i did...but of course i dont go around HIDING my code so people cant take it... Robert Wellock 02-20-2003, 07:23 AM Basically there is no major reason for (x)HTML to be hidden from view by trying to prevent the user from viewing the source code... Assuming Intellectual Copyright is observed then I believe most authors and web-citizens will be happy. The ethos of the web is to share information so that people can benefit from a collective knowledgebase, to exchange ideas, and socialize. The usefulness of this thread has probably frayed having covered most aspects and it would be sensible to cease the bickering… Kaisa 02-20-2003, 09:49 AM I just want to say that i only left because i had something to do and i had to fix a problem with my fan for my room ! webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |