Re: Changing credentials on-the-fly
From: Tom Moreau (tom_at_dont.spam.me.cips.ca)
Date: 09/26/05
- Next message: Promenade: "Re: Changing credentials on-the-fly"
- Previous message: Promenade: "Changing credentials on-the-fly"
- In reply to: Promenade: "Changing credentials on-the-fly"
- Next in thread: Promenade: "Re: Changing credentials on-the-fly"
- Reply: Promenade: "Re: Changing credentials on-the-fly"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 26 Sep 2005 09:35:12 -0400
Consider using an application role. They can login as themselves and then
set the application role. The role stays in effect until logout. You may
have issues with connection pooling, however.
--
Tom
----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Columnist, SQL Server Professional
Toronto, ON Canada
www.pinpub.com
"Promenade" <promenade@no.com> wrote in message
news:OwhJb2pwFHA.2656@TK2MSFTNGP09.phx.gbl...
> Hi!
> I have a late requirement from de Security Department.
> This is the situation: the apps must connect to SQL Server 2000 through
> OLE
> DB using a generic user, but the developers will not know its credentials
> (at least the password)
> Unfortunatelly, like I said, this is a late requirement because there are
> many apps already working, obviously knowing the credentials.
> I spent so much time thinking a way to solve this problem without
> codification, finally I arrived to this idea, but I don't know if it's
> achievable.
> - Create a new user in SQL Server and grant the right permissions on the
> addecuate DBs
> - Deny permissions to the old user
> - Leave the apps just how they are now
> - When an app attempt to open a connection, SQL Server must modify the old
> credentials with the new ones...
>
> Is this possible?
> And obviously....how???
> Otherwise, do you know another solution (without reprogramming)?
>
> Thanks in advance,
> Promenade
>
> PS: I apologize my english
>
>
- Next message: Promenade: "Re: Changing credentials on-the-fly"
- Previous message: Promenade: "Changing credentials on-the-fly"
- In reply to: Promenade: "Changing credentials on-the-fly"
- Next in thread: Promenade: "Re: Changing credentials on-the-fly"
- Reply: Promenade: "Re: Changing credentials on-the-fly"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|