Goran Level: Moderator

 Registered: 16-05-2002 Posts: 1681
|
Re: application that only allows x number of users
First idea that dropped on my mind is to have a table in your database that will hold info about the workstations personal data, like HDD serial number. So, your application should do the following when starting:
1) conect to database
2) check to see if its serial number exists in table
3) if yes, continue with the app
4) if not, check for the number of records that this table holds
5) if record number < 5, then add serial info to htis table, and continue with the app
6) if not, do not allow access to database...
You should password protect this table, and could encrypt this data. As every protection, it can be bypassed, but then, nothing caqn be 100% protected...
____________________________
If you find the answer helpful, please mark this topic as solved.
|