Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to connect to a SQL Server database without using a
Message
De
20/06/2002 07:25:31
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00670389
Message ID:
00670524
Vues:
16
Hector:

Excellent post. As an addendum, in case it is not obvious, the developer has to be careful not to hardcode the password in the string - in high security applications. The password would be easily visible to any decompiler, hexeditor, etc.

Better would be to keep it encrypted somewhere and decrypt just when sending the string to establish the connection. A general scrambling algorithm might be OK in some situations but strong encryption using CAPI would be better.

This is better used in the SQLSTRINGCONNECT() option you mentioned.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform