Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking for user permission on the network drive.
Message
From
22/10/1997 15:34:15
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00055552
Message ID:
00056144
Views:
31
>>>>>>I wrote a program in vfp50 for my users. Now they want only certain
>>>>>>people to be able to use this program. I can do this by keeping a table on the network drive. My question is, how do I check this
>>>>>>network drive to see if the user name is there? I know how to
>>>>>>get the user name from the network sign on. I need a way to set the path, but I do not know what the path will be.
>>>>>>Any ideas?
>>>>>
>>>>>You shouldn't know, what drive will be used. It's enough to give your users pirivileges (on system network level) to appropriate network drive, and tool to reconfigure (if necessary) the path interactively.
>>>>
>>>>Hi Ed - you are right, I guess I will have to write another function to let them reconfigure the path.
>>>>thanks for answering ... :)
>>>
>>>Also, be aware that making it obvious how the "user" file works it not good security...in other words, if you simply have a USERS.DBF file with one field called USERNAME, and in the file is simply the names of authorized users, then all an un-authorized user has to do is get into the file, add a record, and add his/her name....I think the easiest way to do this would be to encrypt the username...so if someone looks at the USER file, they won't know how to add themself...just a thought...
>>>
>>>Joe
>>
>>Hi Joe - thanks for answering. That is a good idea, but how would
>>I encrypt the user name?. Would I scramble the letters of
>>the user name and have internal code that unscrambles when
>>it is time to check the user database? thanks .. :)
>
>I use a couple of fields in the users tables and do a check sum on the 2 -- see sys(2007) in VFP help. Then do a comparison within my code to make sure the fields have not been tampered with. If tampering detected, I terminate the application and have the app send me a Netware message.

thanks Mark for the information - I will look into it.
:)
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Reply
Map
View

Click here to load this message in the networking platform