Hide Source, web "design"

Alexa

Veteran
What do you think of doing this? I do check out source code, on occasion, and I notice that a lot of people seem to HIDE it. or is this true or is it just my browser? what is the point?

Most of the time I use Apple's Safari browser.
 
Even if you script a way to disable *Show Source*....there are plenty of *Source code Rippers* out there. Unless you are REALLY worried about someone linking or using your code.....I wouldn't worry about it.

If someone REALLY want's to steal your car, then your *CLUB* and *VIPER* ain't gonna save it!! ONSTAR maybe....but then again.....there are ways around that too. :happy:

~reservoir~
 
Most people hide their website's source code because, simply, they don't want other folks to steal it. Kinda dumb though, because if someone wants it bad enough they'll find a way to get it, as reservoir said.
 
I don't know why anyone would worry about someone stealing their source code. None of it is revolutionary, I'm sure.

Anyone peeking at source code is likely trying to learn from it, not steal it. Besides, most web designers learn a great deal by studying code, I know I have...it's your content that your should aim to protect, which, as mentioned twice already, is nearly impossible.

Here's a good discussion of the topic:
http://www.sitepoint.com/article/dont-disable-right-click/1
 
Agreed. Though I have indeed built sites that I would like to have kept some of my search engine optimizations a secret from direct e-commerce competitors (back when that was my gig), I really dont see much need in going through so much effort for so little return in benefit. And it's true, HTML is HTML, there is nothing new under the sun as far as web programming goes. (Yeah, yeah, Java script too....but I really wish people would use less of that anyway...but I'm kinna ol' school purist as far as this goes). Besides, if someone really wants some snazzy little bits, there are several sites that give the code away for nothing, with nice little copy/paste windows all pre setup for you, so even if they dont get it from you, they can get it from somewhere and still have the same functionality. I'd find it more of an honor they got it from you...flattered that they like what you did and want it for their site.......unless they are direct e-commerce competitors.

And Frizzle! With regard to disabling right click.....JUST this eve, I was at such a site and wanted to open a link from it to another part of their site in a new tab......I now have a very negative imprint against their site. Same site, saw a word I wanted to copy/paste into Google..........no right click. So yeah, for me, I say just don't worry about it really. When it comes to all kinna efforts to keep everything under your control, in the end the bad outweighs the good...it just makes folks mad at ya.
 
Random Story For Ya'll.

Random Story For Ya'll.

Random story for ya'll.

Last year I saved a company big bucks from being shafted by a "web designer" who copied his entire flash design, letter for letter, from a German telecine company website and made it his personal demo for his capabilities. He replaced the pictures and pasted some new text there and never bothered to spell check. Something seemed awry. I happened upon an older computer which didn't have flash installed and when visiting the site, a non-flash .html page came up with a message (from UnnamedGermanCompany.de) telling me to download flash to view the site. Of course I was a little alarmed and found that original site and caught the guy red-handed. The company here was pretty upset as they had a prior relationship with him pre-existing for several years, in fact. There were other sites that we found that were copies. One even had code from the original 2advancedstudios site from years and years ago, probably copied from a tutorial or something. Evidentally he wasn't aware of this part of the flash coding that alarted users to download the software or otherwise didn't think to change it. Stealing websites is big business for some shady characters and unfortunately many of them slide through the cracks. Not in this case, that's for sure.

Darn kids these days!! lol.
 
Indeed, Wells, it does seem to be big business. For some strange reason a lot of people in wedding forums have a lot of trouble with it, and often get very bent out of shape about it. Frankly, I just don't care if they do steal my stuff. Whatever time it would take for me to get pissed and write ugly emails and ***** to my friends and family could be much better spent in other ways. Course, I say that as I post...when I really should be meditating deeply on the nature of The Force, or editing this video I shot this eve. Neat stuff BTW, it's of a WWII bomber pilot telling some of his stories at our local Historical Society.

Specifically speaking of using others works as demos, that another thing wedding folk get pissed about. Again, I couldnt care less. Thats on that persons shoulders. If they dont have the ability to replicate the quality of work, they will be found out soon enough. When I first decided to do weddings, I put out a request for any seasoned pros that were willing to send me an example of a finished wedding video (not yet knowing that demo thieves were a problem) and no one would help. When I found out why, I was quite disheartened that people were letting that negative potential keep them from helping an earnest brother in need. One fine fellow finally did send one, and it was by far the biggest help of anything, advice or otherwise, that I recieved. Seems like it would be a totally normal process for learning, and I would have guessed it to be standart operating proceedure, but nope....gotta have as close to total control over EVERY thing possible. You know, that was one of the main factors in Anakins turn to the dark side. Hmmmmmmmmmm.
 
What exactly do you mean by "hide"? I've never come across a site that I couldn't view the source of. Is the plain html not even visible to you?
 
When I need to hide or veil my code, I encrypt it... if someone wants to look at it, it just shows up as one big jumbled mess. If they can decrypt and decipher that, then they deserve to copy or steal it. Kudos to you O' dedicated thief!
 
lucidz, what specifically was it that you wrote? Are you talking about code? I'd like an example of what exactly would be worth hiding, that you also have to show publicly...not to say I doubt your claim, I'm just curious. :)

Like DW said, just don't use JavaScript. PHP code remains hidden--only html output makes it to the source code. If you can't do it in PHP, it probably doesn't need to be done. ;-) DVXuser.com is completely PHP/MySQL based, btw.

Oh, and I stole the following link off a wedding videographer's site:
http://copyscape.com/
 
kai, how are things?

could you point us to a tutorial for encrypting source code?

also, as an aside, do you use a CSS editor?
 
Jive said:
What exactly do you mean by "hide"? I've never come across a site that I couldn't view the source of. Is the plain html not even visible to you?

Yes. I come across many pages of pretty simple stuff where the "view source" on my browser is grayed out. I just read to try and learn and of course, I do have that thought, like..man, this looks pretty easy, what's with the javascript? or whatever they are using to "hide" it. and if I can't see it by the one attempt, I don't try other means.

..maybe it is my browser. safari

Daniel_Runyon said:
Indeed, Wells, it does seem to be big business. For some strange reason a lot of people in wedding forums have a lot of trouble with it, and often get very bent out of shape about it. Frankly, I just don't care if they do steal my stuff. --------

Specifically speaking of using others works as demos, that another thing wedding folk get pissed about. Again, I couldnt care less. Thats on that persons shoulders. If they dont have the ability to replicate the quality of work, they will be found out soon enough.

I am still undecided on this one. For now, I take measures to limit any sort of image tampering against my clients. I would want the same for myself.
 
Frizzle I wrote a dhtml/javascript based web chat, that supported multipe rooms, moderators, etc. It was real time. Nothing like it exists still, that doesn't encorporate sockets or java.

So I hid a large portion of the code for it ;)
 
Wow! Huge project, lucidz. Must have taken countless sleepless nights. Whenever I'm in the middle of a big programming project I end up with circular, never-ending dreams where nothing ever gets accomplished, just the same problem repeating itself and me making the same mistake over and over again. Quite disconcerting.

What other ways are there (besides hiding the code) to protect intellectual property such as that? Copyright? Patent? How exactly did you hide the code? Thanks!
 
Frizzle Fry said:
could you point us to a tutorial for encrypting source code?

I may be completely off on this one, but perhaps kai means he obfuscates his code rather than actually encrypting it. The reason I say this is that web browsers are somewhat dimwitted beasts, so in order to have them properly display your code as intended, they still need to be able to read it (as plain HTML or javascript does not undergo any server-side preprocessing). Obfuscation simply changes the plaintext values to HTML character codes so that browsers can still read the markup, but not us lowly humans :)

It's not a truly secure way to 'hide' your code by any means, as there exist many descramblers to quickly and easily convert the code back to human-readable format. It will however help to deter the casual code ripper as they'll have to do more work just get to your real code.

Just google 'obfuscator' to find obfuscation tools for any number of programming languages.
 
Jive said:
I may be completely off on this one, but perhaps kai means he obfuscates his code rather than actually encrypting it.

Yes I do.

Frizzle, I usually do CSS by hand if it's for layout or heavy use, or in dreamweaver if it's just for text formatting, etc.
 
Back
Top