?
Solved

database and application

Posted on 2013-12-04
10
Medium Priority
?
177 Views
Last Modified: 2013-12-19
i have an application which needs SQL database . Application needs to add users on the application administration level with different permissions (user , changer etc ) . Do i need to create users also on SQL database ? All users are on Domain
0
Comment
Question by:techp
  • 5
  • 4
9 Comments
 
LVL 11

Expert Comment

by:HuaMinChen
ID: 39694837
Yes, different users have their specific privileges on database objects. Read
http://technet.microsoft.com/en-us/library/ms187965.aspx
http://technet.microsoft.com/en-us/library/ms188371.aspx
0
 

Author Comment

by:techp
ID: 39695236
Do i need to create users also on SQL database ? is it not enough create users on application and connect to database
0
 
LVL 11

Expert Comment

by:HuaMinChen
ID: 39697244
Hi Techp,
Yes, there should be database users in your application.
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 

Author Comment

by:techp
ID: 39697409
hello huaminchen,

 question is , is it necessary to add users in SQL database server ? is it not enough adding users in application
0
 
LVL 11

Expert Comment

by:HuaMinChen
ID: 39697439
Yes, you can also have the relevant user in the database.
0
 

Author Comment

by:techp
ID: 39697484
hello huaminchen,

question , is it must to add users in SQL database server to work on application ......or is it enough to add users on application and connect database. (all active directory users )
0
 
LVL 11

Expert Comment

by:HuaMinChen
ID: 39697525
For instance, you have
john.smith

in active directory. You can also create the same user in database and further grant him with relevant privileges.
0
 

Author Comment

by:techp
ID: 39697570
i am expecting clear answer for the question

question , is it must to add users in SQL database server to work on application ......or is it enough to add users on application and connect database. (all active directory users )
0
 
LVL 11

Accepted Solution

by:
HuaMinChen earned 2000 total points
ID: 39697588
It is not a must, as it depends on how you design the application.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
This shares a stored procedure to retrieve permissions for a given user on the current database or across all databases on a server.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

589 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question