Re: Restrict access to SQL database through ODBC

From: kevin
Date: 06/27/02


From: <kevin>
Date: Thu, 27 Jun 2002 07:55:43 -0700


Not very easily. If the application reports it's name to SQL (which they
don't all do), you could probably write a background job/service to kill
everything that connected to that database of a different application name
(sysprocesses..program_name)

"Chris Goddard" <cjg@exel.co.uk> wrote in message
news:12bfa01c21ddc$c06c7860$b1e62ecf@tkmsftngxa04...
> I have a third-party (client / server) application which
> requires access through an ODBC DSN to my SQL Server
> database. I would like the user's access to the database
> to be restricted to this application only. Since the app
> is a 3rd party app I cannot use application roles as I
> have no control over the connection and therefore cannot
> run sp_setapprole on that connection.
>
> Is there any way I can use the ODBC data source but hide
> it from other applications such as MSOFFICE which use
> ODBC. I would also like to prevent the user from setting
> up their own ODBC datasources which could point at the
> database server.
>
> Connection is using Integrated Security.
>
> Any advice welcome.



Relevant Pages

  • RE: Logging in in background
    ... wold take all kinds of modifictions as I'd need to be checking that each SQL ... my database and all have connection strings associated with them. ... I suspect that there is also an issue on the SQL Server side as I keep ...
    (microsoft.public.access.modulesdaovba)
  • Re: [VW 7.3.1] ODBCConnection
    ... I played around with a few combinations on the connection string and ... with a trusted SQL Server connection. ... there are differences for database connects. ... > any database specific odbc drivers. ...
    (comp.lang.smalltalk)
  • Re: User not associated with trusted SQL Server connection
    ... > using the osql utility. ... > associated with a trusted SQL Server connection. ... > database or is it just for that instance. ...
    (microsoft.public.sqlserver.security)
  • RE: Manipulating MS Access records with excel VBA + ADO
    ... While I cannot see how a working example of a connection to a database is ... Select the control button view dataor edit query. ... Look for SQL button to get the SQL ...
    (microsoft.public.excel.programming)
  • Re: Sybase Source. What "data flow source" to use?
    ... "Allan Mitchell" wrote: ... when I right-click over a SQL 2005 database and select Import ... datasources defined in ODBC Datasources on my computer, ...
    (microsoft.public.sqlserver.dts)