Hi all,
In sql 2005, I've enabled the database mail xp's in msdb. It runs fine from SMS, but out in the wild I have apps that use sql-logins--but those logins have only rights to their database.
Those apps have stored procs that I'm trying to call sp_send_dbmail from which errors due to permissions lack. The only way I can make it work is if I make those db usrs a user in msdb with dbo rights.
My question is--is there a lower auth level I can give those logins to stil run sp_send_dbmail? If not, is this much of a security risk to have sql-auth logins with dbo rights on msdb? In our organization, the users aren't generally tech-savvy, nor are they malicious in nature, but I'm just wondering if that's a best practice or if there's some other way to delegate that authority.
Thanks,
--Jim
In sql 2005, I've enabled the database mail xp's in msdb. It runs fine from SMS, but out in the wild I have apps that use sql-logins--but those logins have only rights to their database.
Those apps have stored procs that I'm trying to call sp_send_dbmail from which errors due to permissions lack. The only way I can make it work is if I make those db usrs a user in msdb with dbo rights.
My question is--is there a lower auth level I can give those logins to stil run sp_send_dbmail? If not, is this much of a security risk to have sql-auth logins with dbo rights on msdb? In our organization, the users aren't generally tech-savvy, nor are they malicious in nature, but I'm just wondering if that's a best practice or if there's some other way to delegate that authority.
Thanks,
--Jim