Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Security problem when using connection to SQL stored in
Message
De
15/03/2005 10:41:06
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
15/03/2005 08:58:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00995893
Message ID:
00995950
Vues:
29
>Hi all,
>I create a client/server application with SQL database and VPF interface.
>The question is: if I create a connection in VFP to the SQL DB, that connection must have in it user and password for connecting to SQL DB. Otherwise, the SQL server requeries user and password at every request . But, if I include the user and password in that connection to SQL (in VFP), someone could use it from VFP and enter into SQL server .
>Finally, the solution I applied, which I think is the only one, was to open tables with "USE ... CONNSTRING ..." and the CONNSTRING to be stored encrypted in a table . The only objection to this is that every time "USE" is issued is created another connection to the SQL . Could that decrease speed if too many connections are opened ?
>What solution did you apply ?
>
>Thanks a lot,
>Mihai .

Mihai,
If you know the userid and pwd beforehand then instead you might use integrated security. No userid, pwd to store (I mean why not use windows authentication).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform