Re: Application Security
From: Alek Davis (alek_DOT_davis_AT_intel_DOT_com)
Date: 08/28/03
- Next message: Joe: "Re: C# Zip"
- Previous message: Nathan Bullock: "Re: Application Security"
- In reply to: Nathan Bullock: "Re: Application Security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 28 Aug 2003 13:20:27 -0700
Nathan,
In theory, it is probably the best approach, at least from the security
perspective. There are two problems, though. First, when your user base
starts to grow, it may become very hard to manage. Although, if you fully
automate permission assignment, etc., it may not be as bad. The greater
problem is scalability. If you allow each user to connect to the database
server with his/her own credentials, you will essentially elimination the
option of connection pooling (since database connections established using
different sets of credentials cannot be pooled). For few users, it should
not be a problem, but the more users you get, the more problems you will
see. These are the two basic concerns you need to address.
-- Alek "Nathan Bullock" <nathan_kent_bullock@yahoo.ca> wrote in message news:52f8effc.0308281207.5929ad61@posting.google.com... > Thank You to everyone who has replied so far. > > As I have continued to look into this issue of application security I > am wondering, is there anything wrong with having SQL server > completely handle the security of the application? > > What I mean is that every user of the application (a windows form) has > their own account on SQL Server, these users only have access to > specific views and stored procedures (we let these things limit a > users access to data). To log into the application the user enters > their SQL server username and password (this means we don't have to > concern ourselves with keeping these items secure, SQL server does it > for us), and we don't care if they have access to the SQL Server > connection string (since even if they use something like enterprise > manager they still only have access to, and can only modify, the data > they are supposed to have access to). > > Any security set up in the application can just modify permissions in > SQL server. The views can be dynamic to show different data to > different users. The stored procedures can check if they are allowed > to change, update, or delete specific items. etc. > > Any way is this a legitimate way to do things? Or is it just plain > dangerous? > > Nathan Bullock
- Next message: Joe: "Re: C# Zip"
- Previous message: Nathan Bullock: "Re: Application Security"
- In reply to: Nathan Bullock: "Re: Application Security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|