Protect source code

J0kerz

Supreme Member
Joined
Nov 2, 2009
Messages
1,441
Reaction score
414
Whats is the best way to protect your source code so other users wont be able to steal your template, etc..?

I know that there is no 100% secure way but at leat, what is the best way to get away from noobs?

;)
 
^ care to explain?

Check referer and then dish out content???
 
The easiest way is to code it in PHP5 and then protect with ioncube. It would cost quite a bit to get this de-ioncubed.
 
you cant use PHP. The source code is what is sent to the browser, so there is no way to block it from being seen. You can disable right clicking, which may make it harder for some noobs, but it's not fool proof. WinHttrack or whatever its called can still copy the site.
 
php source is not sent to the browser - the output from the php source is sent to the browser. if I say in php - echo 'hello world'; the only thing sent to the browser is "hello world"

You can code php so it has to be called from a referrer on your domain but really, if people want your code they can hire someone on a freelance site to duplicate what you do cheap cheap cheap

I would not worry about that if I were you
 
well if in php then ioncube for sure but u cant prevent stealing html layout bcoz php produce html !! u can also encrypt ur html by using online java encoders or there are plenty open source in sourceforge.net they can encode html codes in x04557dgdf something like that pretty much unreadable !!
 
yep, use php or java (not SE friendly) that will mask your source code
 
php source is not sent to the browser - the output from the php source is sent to the browser. if I say in php - echo 'hello world'; the only thing sent to the browser is "hello world"

You can code php so it has to be called from a referrer on your domain but really, if people want your code they can hire someone on a freelance site to duplicate what you do cheap cheap cheap

I would not worry about that if I were you

Yup. PHP is a server-side script. You won't be able to see the original code. Only the output is sent to the browser.

Hmm. Come to think of it, templates, in general, will not show the original template code from the "View Page Source" option of your browser. They only show the output.

I agree with thedorf. You shouldn't be worrying about this.
 
Last edited:
The thing is that my niche is very agressive. I have taken alot of time to design and code a good looking template. I am looking for a way SE friendly way to makes sure Noobs dont rip off my website.

I thought of adding some kind of footprints to makes it harder if people try to steal everything.

Using PHP could be an idea. Ill look around and try to find any way to protect the content. The thing is that I cant really hide anything. The Browser read the Source Code and generate the page. If the browser can read it, so do the user.
 
Last edited:
The thing is that my niche is very agressive. I have taken alot of time to design and code a good looking template. I am looking for a way SE friendly way to makes sure Noobs dont rip off my website.

I thought of adding some kind of footprints to makes it harder if people try to steal everything.

Using PHP could be an idea. Ill look around and try to find any way to protect content. The thing is that I cant really hide informations. The Browser read the Source Code and generate the page. If the browser can read it, so do the user.

Only pure HTML sites have their source codes completely exposed. But if you are using a blogging platform, you will have some kind of server-side scripted template.

Which platform are you using? Or are you using just HTML?
 
i know what you mean!

whenever i need a new template for my sites i just goto themeforest, view live demos and rip the templates from viewing source... its so easy and only takes 5 mins.
 
Only pure HTML sites have their source codes completely exposed. But if you are using a blogging platform, you will have some kind of server-side scripted template.

Which platform are you using? Or are you using just HTML?

Its a website made from scratch so yes, HTML/PHP.
 
I saw once somebody pushed their code so far down (with newlines returns) it looked like there was no code - this will only fool newbies.

As for design I do not need your code or html to replicate it. I can look at it and replicate it as can any seasoned developer. I'm not trying to be harsh here, I have the same problem with people replicating my code/designs. What I've found is there is usually a better design somewhere else (other than mine) that I want to incorporate.

Read the following from about a week ago...
Code:
http://www.techcrunch.com/2009/12/19/stealth-startupsget-over-yourselves-nobody-cares-about-your-secrets/
 
Last edited:
...steal your template, etc..?
There is no good way to protect your design.
Whoever is stealing will not have the high resolution images that you have and will not have the plugins that you are using. Usually they just end up with header and color scheme and some ideas about menu and site structure.
 
honestly the best way to protect your site , is to make enough money first off, otherwise its not worth that much

if your site is making good amount of money and others steal it , and if your making enough that it will be worth sueing the ones that stole it and if you can prove that your losing money from this .. then its worth something

otherwise its not really not worth much at all,

really think about this.

i'm not talking about little stuff, i'm talking about "value". seek copyright/patent information

if what you have is little stuff then its not that big of a deal.

if your talking about a template, then its really nothing u can do about it since it has little to no value

you may think whatever you have is value but really think about it, if someone took whatever it is, could you show it really effected your bottom line? if it does then it has value.
 
If you are talking about websites then theres no way to protect your template anyway.
If it looks really good they can still remake it using your images even if they aren't able to see the source code for some reason. If you even protect your images somehow they can still make a screenshot and remake the template.
 
The easiest way is to code it in PHP5 and then protect with ioncube. It would cost quite a bit to get this de-ioncubed.


Theres a free Decoder on Trioxxx`s site lool even ioncubed is not safe anymore :)
 
Back
Top