Page 1 of 1

Protect source code

Posted: Sun Mar 07, 2004 7:51 am
by fastfingertips
How can i protect my source code?

If i'm posting my files on a public server, how can i make then unreadable? I'm also thinking to something like encryption.

Posted: Sun Mar 07, 2004 8:07 am
by d3ad1ysp0rk
Your PHP code? It's already done.

HTML? There's no reason to.

Posted: Sun Mar 07, 2004 8:41 am
by fastfingertips
LOL

Sir if you are informed about this please provide a solution otherwise do not use the database of this forum for an useless answer :P.

When i was talking about source code encryption i was referring to the possibility that if someone will be able to take my source files to look at them then that person must not be able to understand what is inside.

Posted: Sun Mar 07, 2004 9:48 am
by tim
no need to be a idiot about it... punk was only helping.

the only way I see anyone getting to your .php files was if u set up their own ftp account n gave them access to whatever server your files are on.

html code can be seen if the person really wants it.

Posted: Sun Mar 07, 2004 10:42 am
by fastfingertips
OMG :x

Please can you post on the subject?
As i know you can encrypt your php files or to transform the code lines into a very understandable form so nobody else will not be able to understand anything even if he will stay with the source files in front of his eyes many weeks.

I want to know how to secure that and i'm not interested what happening on the user side.

Posted: Sun Mar 07, 2004 10:45 am
by fastfingertips
For example if you are designing an application in PHP you will need to protect somehow your source files (your work) before to publish it.

That's why please post on this subject and excuse my behaviour.

Posted: Sun Mar 07, 2004 10:46 am
by patrikG
There is the Zend Source Protector (google for it) and, also a thread about this at
viewtopic.php?p=90052&highlight=#90052

Posted: Sun Mar 07, 2004 12:56 pm
by tim
oh i am sorry... i'd read this too, i had it in my favs.

http://www.groovyweb.uklinux.net/index. ... 20how%20to

Posted: Mon Mar 08, 2004 4:39 am
by twigletmac
fastfingertips wrote:OMG :x

Please can you post on the subject?
As i know you can encrypt your php files or to transform the code lines into a very understandable form so nobody else will not be able to understand anything even if he will stay with the source files in front of his eyes many weeks.

I want to know how to secure that and i'm not interested what happening on the user side.
You know, if you're clear in your question others will be clear in their answers. No need to be rude, just clarify.

Mac

Posted: Mon Mar 08, 2004 4:49 am
by malcolmboston
i know you can get hold of 'freeware' versions of this sort of thing but i mean really, most of the ones ive used ive just hit ctrl+r to do a search + replace and tadda ive unscrambled my own source code

although i read a rather favourable review a few days ago about the zend protector

as a designer / developer myself i always have a little voice in my head saying if you give this guy/gal/company your source code they are free to do whatever you want with it, hence why i dont give it out through the initial 'development' stage and just give screenshots until its 'ready' to go on my server and go live, only when i receive 100% payment do i ever give the source code out.

however i would like to have the option of keeping my code a 'secret' even after selling the site to a company, so i for one will be looking more into this option in the close future