Application role to access xp_cmdshell
From: Carl Olsson (caos_at_regerar.com)
Date: 02/17/04
- Next message: Andrew J. Kelly: "Re: Databaseaccess"
- Previous message: Bruno: "Re: List NT-User-Names in Active Directory (for SQL-Logins creation)"
- Next in thread: Dan Guzman: "Re: Application role to access xp_cmdshell"
- Reply: Dan Guzman: "Re: Application role to access xp_cmdshell"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 17 Feb 2004 04:39:43 -0800
I have an Access app linked to a SQL server db. This app uses
xp_cmdshell in some stored procedures and it works fine. As long as
the user is administrator... I'd like to set up an application role
that can execute xp_cmdshell and access my db but I don't know how to
do it as xp_cmdshell is in the Master db while everything else is in
my own db. I'm also unsure whether to call sp_setapprole from the sp's
or from the Access app.
Can somebody please give me some code examples or direct me to a good
site?
/Carl
- Next message: Andrew J. Kelly: "Re: Databaseaccess"
- Previous message: Bruno: "Re: List NT-User-Names in Active Directory (for SQL-Logins creation)"
- Next in thread: Dan Guzman: "Re: Application role to access xp_cmdshell"
- Reply: Dan Guzman: "Re: Application role to access xp_cmdshell"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|