|
-
Jul 16th, 2000, 08:56 PM
#1
Thread Starter
New Member
As a user signs in. I write that information
to a file. I then want to take that name
and compare it with the user that have
access to the program. How can I do this?
I am just learn. I am having trouble
comparing the names. and sending back
an ok. Please help.
Rasnic
-
Jul 16th, 2000, 11:52 PM
#2
Member
Will your list of users be in a database or perhaps a text file?
-
Jul 17th, 2000, 05:57 AM
#3
Thread Starter
New Member
User file
User file will be a file with a cfg
extention. It could also be a text file.
I was having trouble making both files
be in a database. So, I am trying it
this way. Thanks, Rasnic
-
Jul 17th, 2000, 03:25 PM
#4
Addicted Member
You could use an ini file and then use VB's functions to Read and write to the file.
You should probably think twice about using a file for security. Unless the file is encrypted it would'nt take long for a user to figure out how to defeat your security. You should consider using a database and then control access to the database.

Glenn D
Development/Analyst
-
Jul 17th, 2000, 09:32 PM
#5
Member
Obviously I'm not sure of your full requiremnets, but if you need Users to log in and security then it sounds like a multi user/network application. I would suggest you create an ActiveX.DLL which encapsulates a resource file with your Users names.
This has many benefits as it is then a single source of the user names and it is more secure than external files.
You have not provided an e-mail address but if you drop me an e-mail I will return some code to show you how to do it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|