1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Hidden Code

Discussion in 'Programming & Webmastering' started by Wozzer, Jan 24, 2009.

  1. Wozzer

    Joined:
    Jun 30, 2008
    Messages:
    1,133 (0.46/day)
    Thanks Received:
    68
    Location:
    England
    Hello all,

    I'm now starting to create profesional looking templates - And I want to try and sell them. However - Copyright, as always - Is an issue.

    Is there any way I can write something in the coding thats hidden to the user so they can't edit it...?

    Thanks,

    Wasley
     
  2. erocker

    erocker Super Moderator Staff Member

    Joined:
    Jul 19, 2006
    Messages:
    40,385 (12.61/day)
    Thanks Received:
    15,027
    Templates for what, using what? :confused:
     
  3. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    14,744 (6.18/day)
    Thanks Received:
    4,409
    Location:
    IA, USA
    The most n00b proof is watermarked images. In terms of any scripted language (especially HTML), it isn't worth trying--too easy to defeat.
     
    Crunching for Team TPU
  4. mrhuggles

    mrhuggles

    Joined:
    Oct 10, 2007
    Messages:
    1,540 (0.56/day)
    Thanks Received:
    174
    like read only?
     
  5. IggSter

    IggSter

    Joined:
    Aug 24, 2007
    Messages:
    443 (0.16/day)
    Thanks Received:
    127
    Location:
    BY-S36
    If you are talking about templates for web pages / forums etc, the best way is to embed a digital watermark in all images/gfx that you use (you will have to create these images from scratch though as I suspect that adding this to a royalty free - premade texture will breach some form of copyright)
     
  6. Wozzer

    Joined:
    Jun 30, 2008
    Messages:
    1,133 (0.46/day)
    Thanks Received:
    68
    Location:
    England
    Sorry - Wasn't clear on the description.

    I meant creating web site templates. HTML & CSS.
     
  7. Wozzer

    Joined:
    Jun 30, 2008
    Messages:
    1,133 (0.46/day)
    Thanks Received:
    68
    Location:
    England
    Bump
     
  8. JayD239 New Member

    Joined:
    Nov 11, 2008
    Messages:
    13 (0.01/day)
    Thanks Received:
    2
    Location:
    The Netherlands
    http://www.ioncube.com/

    This encodes your code so no one can read it. Your clients will need some sort of ioncube decoder thingy installed. You can also set expiry dates and things. I've worked on applications encoded with this. Hated it because i could never really get to the source of a problem (figurative and literally).

    It's for PHP. Don't know if they have though of some html/css version. If you really want it you could do a <?PHP echo 'lots of html'; ?> i guess

    Probably isn't cheap though
     
  9. Jakl

    Jakl New Member

    Joined:
    Nov 18, 2008
    Messages:
    515 (0.22/day)
    Thanks Received:
    50
    Location:
    Home
    Unfortunattly no... Its extremely hard to secure any website to stay under copyright... You can easily photo shop one image if you added copyright text to it and remove it, or even editing the HTML file...

    The only best way is just taking a screenshot of your work and submit that to the client... Myself I know cause Ive been doing website designing and Webhosting for several years now and anything is possible..
     
  10. JayD239 New Member

    Joined:
    Nov 11, 2008
    Messages:
    13 (0.01/day)
    Thanks Received:
    2
    Location:
    The Netherlands
    Hmm, come to think of it you are right, ioncube makes no sense with html/css. Those will need to be readable to the browser anyway. Anyone visiting a website can do a 'view source' and voila
     
  11. Jakl

    Jakl New Member

    Joined:
    Nov 18, 2008
    Messages:
    515 (0.22/day)
    Thanks Received:
    50
    Location:
    Home
    You can encrypt a php code if your site is fully PHP and MySQL, you can hide and secure a copyright on the site, but that requires alot of knowledge in PHP... Myself I have no clue and Ive been doing PHP for 2 years now, but I have seen people able to do so..

    teammemx.com
    thefallenkj.com

    those are 2 clan sites I made for my friends under my webhost.. if you need any help, feel free to ask
     
  12. JayD239 New Member

    Joined:
    Nov 11, 2008
    Messages:
    13 (0.01/day)
    Thanks Received:
    2
    Location:
    The Netherlands
    You have not seen that little link in my post? Thats a way to do it
     
  13. Jakl

    Jakl New Member

    Joined:
    Nov 18, 2008
    Messages:
    515 (0.22/day)
    Thanks Received:
    50
    Location:
    Home
    Yes, but I highly doubt that Wasley that created this thread has knowledge in the PHP, so it will be impossible for him to do so... I have never heard of ioncube.com , and possible yea it does the job probably. Hopefully its not to complicated
     
  14. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    14,744 (6.18/day)
    Thanks Received:
    4,409
    Location:
    IA, USA
    If a contract isn't signed, give them a picture of the template with a watermark covering the entire thing. If they tried to break it down into HTML/CSS, it would be near impossible for them to entirely remove the watermark.

    Once they agree to a contract (be thorough on the contract including what they are allowed to modify, what is strictly forbidden, transferrability, etc.) you can give them the unwatermarked images (the HTML/CSS). If they violate a contract they agreed to, the law is on your side (so long as it is specific). Obviously, if someone comes along and grabs the images/HTML/CSS from the site once it is up, there's not much you can do about it unless you have deep pockets with a lot of lawyers that will chase down every copyright infringer. Because they are not a reliable source of profit, I wouldn't bother. Your contract should spell out ownership of the template (if you own it, you could sell to others; if they own it, they could sell to others) and whether or not anyone can sell (or give away) any of it to anyone (again, be specific--try to think of all the possibilities).
     
    Crunching for Team TPU

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page