borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB Home | News Home | Forum Home | Downloads | Register | Search | PM | Profile

Previous Topic (Is there a way to tell if a folder exists on a server)Next Topic (VB 6 or VB.net) New Topic Post Reply
AndreaVB OnLine : VB General : application that only allows x number of users
Poster Resource
evanscolin
Level: Protégé

Registered: 04-11-2005
Posts: 6
icon application that only allows x number of users

Hi, I want to issue my program with an 'x' user license but don't really know how to enforce. The program will reside on individual workstations but does have access to the server, so I had thought of having some kind of check file reside on the U: drive or similar. In that when the program is install it writes the workstation id to the file and if say five id's are already registered it informs the user they can't install anymore......but not sure if this is the best or easiest way, anyone got any ideas

08-03-2006 at 08:31 AM
View Profile Send Email to User Show All Posts | Add Comment
Goran
Level: Moderator


Registered: 16-05-2002
Posts: 1681
icon 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.

08-03-2006 at 05:12 PM
View Profile Send Email to User Show All Posts | Add Comment
AndreaVB OnLine : VB General : application that only allows x number of users
Previous Topic (Is there a way to tell if a folder exists on a server)Next Topic (VB 6 or VB.net)New Topic Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder