troubleshooting Question

Creating SQL Server Logins from application interface

Avatar of George
GeorgeFlag for Canada asked on
Microsoft SQL Server 2005Visual Basic.NET
5 Comments1 Solution179 ViewsLast Modified:
Hi Everyone,

We have a 2005 application with a SQL Server 2005 Backend
SQL Authentication is used to authenticate users.

We need to change the application to allow application administrator's to create users using the front end interface.

We have a store procedure that creates the logins, no problem there, the problem is that the account that the application uses needs to be on the  Server role 'securityadmin" otherwise, will not run.

There is a concern that the application account has elevated privileges on the server and can access other DBs.

Is there a way to create logins but restrict the user that the application uses to create the login to only one database?

Any idea is very welcome


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros