Re: prevent developers writting to our SQL DB ?
From: Mark Allison (marka_at_no.tinned.meat.mvps.org)
Date: 10/06/04
- Next message: Tibor Karaszi: "Re: sql server on Unix"
- Previous message: Neil: "sql server on Unix"
- In reply to: scott: "prevent developers writting to our SQL DB ?"
- Next in thread: Wayne Snyder: "Re: prevent developers writting to our SQL DB ?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 6 Oct 2004 12:44:41 +0100
Scott,
Your application should use stored procedures and views to access the data.
Then only grant access to the procs and views and deny access directly to
the database tables. Abstract this through the use of a database role.
ie.
Create a role 'MyAppRole'
Grant permissions needed on the role in the database.
Add the users you want to the role.
Job done.
-- Mark Allison, SQL Server MVP http://www.markallison.co.uk Looking for a SQL Server replication book? http://www.nwsu.com/0974973602m.html "scott" <nospamscott@yahoo.com> wrote in message news:uuqLSM5qEHA.644@tk2msftngp13.phx.gbl... > Hi > > We are writting a VB app that use SQL 2000 as it db. Our old software was > written in an environment that prevented users from writting to the database > tables. How can we employ this in a VB and SQL environment when users need > to write to tables using the application functions ? > > Thanks for any advice. > Scott > > > >
- Next message: Tibor Karaszi: "Re: sql server on Unix"
- Previous message: Neil: "sql server on Unix"
- In reply to: scott: "prevent developers writting to our SQL DB ?"
- Next in thread: Wayne Snyder: "Re: prevent developers writting to our SQL DB ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading