473,238 Members | 1,800 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,238 software developers and data experts.

Protecting PHP-code

1. Make your code so good and general that you can resell it yourself.
A lawsuite is not what you want and a lawyers contract is worth
nothing if you are not sure you will go after them 110%.

2. Either host your own solution or get it hosted on a web hotel that
as good reputation. Simple and cheap.

3. Encrypt it somehow. Would not be my first choice though.
/ Axier
Jul 17 '05 #1
3 1602

Axier wrote:
3. Encrypt it somehow. Would not be my first choice though.


Zend has a REALLY nice way of maing your code secure. It masks the code
and will run it but not allow anyone to edit it. You give a key to the
client so that they can "unlock" and run your script. The key also has
a nice feature where you can set who the code is registred to, set how
long that the script is vaild for (i.e. 14 day trial), how many clients
can connect and use the code and a bunch of other options.

Jul 17 '05 #2
Why do you guys want to protect your code?

Do you have something to hide?
Is it so bad you don't want any fellowprogrammers to see it?

Think positive: Maybe they will improve it, and you get yourself better
code.

I am serious.
I think all people who use PHP should first read Richard Stallman:
http://www.gnu.org/philosophy/free-sw.html

Actually: everybody should read Stallman.

Regards,
Erwin Moller
Jul 17 '05 #3
"Axier" <jf****@hotmail.com> wrote in message
news:ae*************************@posting.google.co m...
1. Make your code so good and general that you can resell it yourself.
A lawsuite is not what you want and a lawyers contract is worth
nothing if you are not sure you will go after them 110%.

2. Either host your own solution or get it hosted on a web hotel that
as good reputation. Simple and cheap.

3. Encrypt it somehow. Would not be my first choice though.
/ Axier


You probably don't want to steal any PHP code that's complex enough to be
worth stealing. To quote Rasmus Lerdorf (one of the developers of PHP), "PHP
is glue. It is the glue we use to build cool web applications by
sticking dozens of 3rd-party libraries together and making it all appear
as one coherent entity ..." Something that requires a lot of glue to hold
together is probably not every good.
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

24
by: Yang Li Ke | last post by:
Hi guys! Anyone know a way so that users purchasing my scripts would not be able to share them with other people ? Yang
5
by: cfoley1970 | last post by:
I have an online directory of alumni from a high school that runs PHP with a MySql backend containing contact info, email addresses, etc. Some of the alumni have begun to complain about receiving...
13
by: Fotozine | last post by:
well, after several months of learning, writing and developing my site, (and colecting hunderts of users in few days) one person have "included" my whole site under his domain. in frameset: ...
3
by: StevePBurgess | last post by:
I have a data driven website. Part of the website is a downloads section - all the downloads are help in a folder called "downloads". When a general user (i.e. one that doesn't have a log in) uses...
4
by: Tom | last post by:
My site requires users to log in. Each php page ensures the user has been authentiated and will redirect to the login page if need be. However the site also has a directory of PDF files that...
12
by: Roland Hall | last post by:
I read Aaron's article: http://www.aspfaq.com/show.asp?id=2276 re: protecting images from linked to by other sites. There is a link at the bottom of that page that references an interesting...
3
by: Robizzle | last post by:
I write a simple php script where I can post news to my website. There is an html page (makenews.html) that has forms for username (in this example it is 'admin'), password (in this example it is...
8
by: Iain Napier | last post by:
I'm in the middle of developing a website with a downloads section. It's a wad of educational software for an LEA which for obvious reasons needs password protecting. Users have to authenticate...
16
by: rogerjames1 | last post by:
How would I go about protecting a whole directory, e.g. http://www.example.com/members/ and all sub-directories with login protection? I wouldn't like to put a .php script in each directory and...
4
karlectomy
by: karlectomy | last post by:
Howdy, I was wondering if there was an way to protect PHP include Files from being downloaded from my host servers. Can this be done with permissions? or do I need access to serverside options to...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.