writing to registry for security purposes

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gundam_dth
Forum Newbie
Posts: 3
Joined: Tue Aug 12, 2008 7:09 pm

writing to registry for security purposes

Post by gundam_dth »

Good day to everyone. I am a newbie on php developing a document archival and retrieval application software with mysql. I would like to ask help from anyone on how to write values or to be specific the ip address of a pc to the registry. The purpose of which is for my program to check it everytime to avoid duplication or copying by my clients. Looking forward for any positive response with great gratitude.
User avatar
lukewilkins
Forum Commoner
Posts: 55
Joined: Tue Aug 12, 2008 2:42 pm

Re: writing to registry for security purposes

Post by lukewilkins »

gundam_dth,

Would be happy to help! Could you give us a little more information about what you are having a problem with? Are you trying to ensure that a user does not download a file more than once? If so, I can expound upon this and hopefully give you some details.

Luke
gundam_dth
Forum Newbie
Posts: 3
Joined: Tue Aug 12, 2008 7:09 pm

Re: writing to registry for security purposes

Post by gundam_dth »

sir luke, i have lots of client who wants to acquire the software i developed. my problem is on how to secure the software i installed so that they wont be able to copy it and sell it themselves to others who are interested. that's one thing that pops in my mind, to retrieve the ip send it to registry so that it wont run to other computers when copied manually. the program runs on the intranet and not the internet. main objective is to avoid copying by clients. thank you so much.
User avatar
lukewilkins
Forum Commoner
Posts: 55
Joined: Tue Aug 12, 2008 2:42 pm

Re: writing to registry for security purposes

Post by lukewilkins »

gundam_dth,

I see. Well, I would have to say it is a lost cause to try to fool proof protect your application that you have developed (one reason that you can pirate basically any piece of software with not too much difficulty). The registry can be cleaned, etc.

You may wish to look in to requiring a unique serial when the application is installed that you can confirm and know it has not been registered before. I understand that this is a desktop application, am I correct? What language is it written in?

The only PHP you'll likely be using here is for your application to send the serial to the server for validation.

Luke
gundam_dth
Forum Newbie
Posts: 3
Joined: Tue Aug 12, 2008 7:09 pm

Re: writing to registry for security purposes

Post by gundam_dth »

thanks a lot sir luke. yes its a desktop application created using php and mysql. your suggestion is very well taken and it would surely be of great help. i have previously done it before the SERIAL thing developed under MS Visual Foxpro, ill try to convert my codes to php. surely i will update you with it.
User avatar
lukewilkins
Forum Commoner
Posts: 55
Joined: Tue Aug 12, 2008 2:42 pm

Re: writing to registry for security purposes

Post by lukewilkins »

Excellent, best of luck to you gundam_dth!

Luke
Post Reply