Page 1 of 1

writing to registry for security purposes

Posted: Tue Aug 12, 2008 7:16 pm
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.

Re: writing to registry for security purposes

Posted: Tue Aug 12, 2008 7:20 pm
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

Re: writing to registry for security purposes

Posted: Tue Aug 12, 2008 7:37 pm
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.

Re: writing to registry for security purposes

Posted: Tue Aug 12, 2008 7:57 pm
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

Re: writing to registry for security purposes

Posted: Tue Aug 12, 2008 10:13 pm
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.

Re: writing to registry for security purposes

Posted: Tue Aug 12, 2008 10:18 pm
by lukewilkins
Excellent, best of luck to you gundam_dth!

Luke