Re: Application Role
From: Mary Chipman (mchip@nomail.please)
Date: 06/18/02
- Next message: Andrew: "Re: Help....."
- Previous message: Richard Waymire [MS]: "Re: MS SQL Server 2000 SP2 AV problem with pwdencrypt: possible buffer overflow"
- In reply to: Eric: "Application Role"
- Next in thread: Paul: "Re: Application Role"
- Reply: Paul: "Re: Application Role"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Mary Chipman <mchip@nomail.please> Date: Mon, 17 Jun 2002 20:26:58 -0400
Application roles were designed to let an application connect to a
specific database and have a set of permissions applied just for that
role. For example, you might have an Excel app that retrieves data
into a spread*** and is used by 100 people, not all of whom are in
the same windows group or have a login to SQLS. So to avoid having to
administer all those logins, you create an approle, a SQLS login for
it to use, and in your Excel code you log on using your special login
and activate the application role, retrieve the data, and get out.
In reality approles don't work well in any application where you don't
have total programmatic control over an ADO connection object (i.e.,
Access or bound data controls or the DE in VB) because OLE DB
connection pooling keeps getting in the way. IMO for the most part
you're probaly better off with standard database roles.
-- Mary
MCW Technologies
http://www.mcwtech.com
On Mon, 17 Jun 2002 13:52:05 -0700, "Eric" <eremington@datapex.com>
wrote:
>Can someone point me in the direction or some resources
>on the net of a good reason to use an application role.
>Seeing that the connection needs to have a server login
>first, what is the benefit of using an app role instead
>of an "App_User" login and "App_user" user for the db.
>The applications I write would only allow certain
>functionality limited to the query stamped out in code
>and the connection for that user. Am I missing something?
>
>Thanks,
- Next message: Andrew: "Re: Help....."
- Previous message: Richard Waymire [MS]: "Re: MS SQL Server 2000 SP2 AV problem with pwdencrypt: possible buffer overflow"
- In reply to: Eric: "Application Role"
- Next in thread: Paul: "Re: Application Role"
- Reply: Paul: "Re: Application Role"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]