Treehouse: Grow your CSS skills. Land your dream job.

Hiding Source Code

  • # November 8, 2012 at 3:07 pm

    Does anyone know of a good way to hide website source code?

    # November 8, 2012 at 3:13 pm

    If you aren worried about people stealing your code, don’t be. If the page can render, people can get the code.

    # November 8, 2012 at 3:21 pm

    Yep, nothing you can do.

    You can’t patent it and you can’t trademark it.

    You can copyright the CONTENT but that’s it.

    # November 8, 2012 at 4:40 pm

    I’m not so worried about the stuff I coded, I’m more worried about the code I bought from developers who probably don’t want their code stolen. But, I figured that there wasn’t really an effective way to hide code. Thanks for the info!

    # November 8, 2012 at 4:48 pm

    You can’t protect CSS or HTML. I do believe you can protect Javascript although I might be wrong. PHP you can definitely protect but that isn’t rendered for others to see unless you share it.

    # November 8, 2012 at 6:11 pm

    @alex_wilson, i believe in your situation (purchasing a plugin or some other code) you do get a license to use it. If someone wants to rip that, im sure it happens, but they wont have a license. Im sure you could always put a comment (or use original comment) in the code to possibly persuade those code thieves from using it.

    There are so many open source options available for code these days that i’m sure someone who is too lazy to write their own code may be less inclined on stealing something else. I could be absolutely wrong.

    # November 8, 2012 at 6:38 pm

    I just looked and it appears that the developers protected their Javascript, or at least I can’t see it.

    # November 8, 2012 at 6:39 pm

    Nevermind, they didn’t.

    # November 8, 2012 at 6:41 pm

    I’ll write something nice in the code. :)

    # November 8, 2012 at 6:45 pm

    Well when you bought it you were given a license file weren’t you?

    # November 8, 2012 at 6:50 pm

    I bought a Javascipt slider off of code canyon.And, I didn’t see a license file with the download, but there is a record of me buying it on code canyon.

    # November 8, 2012 at 6:55 pm

    I say you just implement the code man, you could always put a refrence in there saying:

    * Javascript super duper slider
    * Author: Billybob @ http://www.codecanyon/billybob
    # November 8, 2012 at 7:57 pm

    Yea, the developer already has something similar in his/her code.

    # November 8, 2012 at 8:06 pm

    I suggest you just stick with that code man. Here is a really cool podcast from ShopTalkShow.

    # November 8, 2012 at 8:13 pm

    Thanks man!

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.