Joe K. (JoeK@discussions.microsoft.com) writes:
> I have SQL Server 2005 database server that I have set up to running
> several SSIS packages and other processes.
>
> How can I modify this account by t-sql script or using SSMS to make
> sure no user has the ability to log with this account?
>
> I have SQL Server 2000 database server that I have set up to running
> several DTS packages and other processes.
>
> How can I modify this account by t-sql script or using SQL Server
> Enterprise Manager to make sure no user has the ability to log with this
> account?
In SQL 2005, you could do this with a login trigger as Uri suggestion,
but you would have to do it differently, you would need to check if the
application is SSIS. Then again, it's trivial to forge the application
name you login, as this is just part of the connection string.
In SQL 2000 there is definitely no way to do this.
--
Erland Sommarskog, SQL Server MVP, esquel.DeleteThis@sommarskog.se
Links for SQL Server Books Online:
SQL 2008:
http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005:
http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000:
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx >> Stay informed about: Functional Account SA No Connection