Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking for user permission on the network drive.
Message
 
À
21/10/1997 16:23:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00055552
Message ID:
00056117
Vues:
36
>>>>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 .. :)
>>>
>>>Another way is to keep the USERS table readonly on the server. No encrypting is needed, but you must have authority to edit it yourself (or whoever is responsible for maintenance must)...
>>
>>thanks Bruce - I will make a note of it.... :)
>
>Robert,
> For encripting the user info and such,l why not look at the simple routine like this:
>
>Loop Thru the username string
> GET ASCII Value of the char place in string
> Add 5 to the above number
> get Char of the above calculated #
> add this char into a temp string
>Endloop
>
>replace username in table with the new string
>
>When you need to get the username from a user, reverse the procedure to compare the user input against what you have in table..
>
>Thanx!
>
>Tony Miller
>Vancouver, Wa

That would work...but it certainly is low security...better than nothing though...

Joe
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform