473,509 Members | 3,095 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1613

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
5014
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
1699
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
1728
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
1382
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
1689
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
2176
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
1694
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
1748
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
4179
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
1914
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
7234
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7136
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7069
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7505
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4730
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3216
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1570
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
441
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.