Advertisement

07.23.2008 at 10:38AM PDT, ID: 23589439
[x]
Attachment Details

Creating SQL Server Logins from application interface

Asked by jguinard in SQL Server 2005, Microsoft Visual Basic.Net

Tags: SQL Server 2005 Standard, SQL, SQL Server 2005, Login creation

Hi Everyone,

We have a vb.net 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

Jorge
Start Free Trial
[+][-]07.23.2008 at 11:15PM PDT, ID: 22076445

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 11:19PM PDT, ID: 22076458

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.24.2008 at 07:32AM PDT, ID: 22079553

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.24.2008 at 11:56AM PDT, ID: 22082334

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: SQL Server 2005, Microsoft Visual Basic.Net
Tags: SQL Server 2005 Standard, SQL, SQL Server 2005, Login creation
Sign Up Now!
Solution Provided By: brejk
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628