TheBugSlayer
Programmer
Hi guys.
My boss would like to prevent a third-party application that we have from writing to the database...We do not have the source code and were not sure which account the app uses. I ran a trace and all seems to indicate it uses the sa account. He wants to restrict sa rights; I think it's a bad idea and am not even sure if that's possible. Given the circumstances I believe there is not much we can do other than maybe creating an INSTEAD OF trigger on each one of these (many) tables to ignore the INSERT and UPDATE statements, or AFTER triggers to save the data in a separate table.
Not sure if the app is programmed to handle gracefully the exceptions that will be generated eventually if INSERT and UPDATE statements fail as result of the user loosing those privileges.
Do you have any idea how this could be achieve, or whether it's even possible?
Thanks much.
MCP SQL Server 2000, MCTS SQL Server 2005, MCTS SQL Server 2008 (DBD, DBA)
My boss would like to prevent a third-party application that we have from writing to the database...We do not have the source code and were not sure which account the app uses. I ran a trace and all seems to indicate it uses the sa account. He wants to restrict sa rights; I think it's a bad idea and am not even sure if that's possible. Given the circumstances I believe there is not much we can do other than maybe creating an INSTEAD OF trigger on each one of these (many) tables to ignore the INSERT and UPDATE statements, or AFTER triggers to save the data in a separate table.
Not sure if the app is programmed to handle gracefully the exceptions that will be generated eventually if INSERT and UPDATE statements fail as result of the user loosing those privileges.
Do you have any idea how this could be achieve, or whether it's even possible?
Thanks much.
MCP SQL Server 2000, MCTS SQL Server 2005, MCTS SQL Server 2008 (DBD, DBA)