Jump to content

How to secure my php application from someone copying source code


redbrad0

Recommended Posts

I've been developing a php application that runs my entire company for the last 4 years. One of the things I never thought of until now is that the server guys or anyone else could copy the source code and db and be able to start up another company which brings up my question to you.... How would you protect your application?

 

My thought is to create one small php file that is encrypted with something that is required to make the entire site run (not sure at this point what it would be that they couldn't just rebuild). Then if this file sees it's on a different domain/ip it requests data from my site which logs the info for me to look at. If I find out it's something not approved, it would then not allow the program to run and will give a error.

 

What is your idea?

Link to comment
Share on other sites

you cant see php in the source code?

password protect your files?

dont tell anyone your cpanel password or username lol?

they could only get a website that would look like yours, theres wouldnt work because they couldnt get your php codes therefore they would have to script up their own php which would take, well if it took you 4 years..

theres alot of sites that use this to scam people, its called phishing. http://en.wikipedia.org/wiki/Phishing

 

Link to comment
Share on other sites

Sorry if I didn't hit on the point exactly, but what I'm worried about is the people that manage the servers and the programers that are working on the site. Let's just say I wrote software for a application that I am selling online. They need full access to the source code to be able to make modifications but I wouldn't want them to be able to put the code on a warez site or anything else allowing people to download it without paying. Does this help?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.