Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to Store LoginId/Password?
Message
De
30/06/2004 11:31:52
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Where to Store LoginId/Password?
Divers
Thread ID:
00919101
Message ID:
00919101
Vues:
52
Hi,

Reading (excelent) article Securing VFP Data, by Alf Bormann in FoxTalk's September 2003 issue (requires login to access), learned about a thing that was completelly new to me: "impersonation". Well, that oppened many new opportunities to my VFP app development.

In the first app that I'm developing, using impersonation, I have this situation where it will be run by different users (under different logins) but in order for it to perform certain tasks, that require a network administrator login, it will impersonate using the administrator's login id and perform the task.

It's all ok in the implementation, it impersonates, performs those tasks, gets back to the original login and so forth.

The only problem I'm facing (so far!) is to determine the best way to store (read "hide") the administrator's login and password. Better than that, if I could have a way that *only* the network administrators could set (or store) the login/password and the app could retrieve it for utilization.

Some options that came up (and were discarded, maybe too soon <s>):
  1. Hard code it inside the app source code
  2. Store it in an .ini file
  3. Store it in a field of a Dbf Table
  4. Encript it and store it in...
I would be very happy to count on your comments and suggestions, thanks!

Fernando
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform