Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to Store LoginId/Password?
Message
De
30/06/2004 12:03:34
 
 
À
30/06/2004 11:57:49
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00919101
Message ID:
00919129
Vues:
20
Hi Eric, thanks for replying!

The problem is that in order to call the Win API to change an user's password I must be logged as an administrator, so... back to same problem :(

Fernando

>Hi Fernando!
>
>Other suggestion would be a dynamic password. It would be based on Date and Time in computer (all like char). Sample: Hour + Day + Min + Month + ... Thus:
>
>1 - Computer Date and Time: 02/15/2004 08:05:01
>    Password: 08150502
>2 - Computer Date and Time: 02/15/2004 09:27:01
>    Password: 09152702
>
>Of course that you could to combiner of much diferent ways.
>Ops... LoginId isn't necessary in this case, you could to put some login to disguise. 8-D
>
>
>
>>Hi,
>>Reading 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
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform