Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using SQL backend security or roll-your-own?
Message
From
30/01/2002 15:21:44
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Using SQL backend security or roll-your-own?
Miscellaneous
Thread ID:
00613013
Message ID:
00613013
Views:
52
Hi everyone!

I'm just wondering what people here use for basic authentication when it comes to client-server applications. For simplicity, I'll assume a VFP frontend (of course) and a MS SQL Server backend.

When making the connection to SQL, do you usually connect using a user-provided username/password (or NT security, if available), meaning that you create each of your users in SQL (or add NT users)...

- or -

do you create a single user for your application (MyAppUser) on SQL Server, connect using that user and then [optionally] authenticate users with a username/password table in the database?

I'm not talking about a large-scale web application where you have no idea who's going to log in with your apps, but rather a "traditionnal" client-server application where you know who's going to connect (within a business). In my case, I'm thinking along the lines of 15 to 20 users.

I'm asking because I see advantages and inconveniences on both approaches, and I can't say I like one way over the other, so I thought I'd ask what other people do!

Thanks!
Sylvain Demers
Next
Reply
Map
View

Click here to load this message in the networking platform