Click here to Skip to main content
15,900,724 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have develop a web application in MVC4 it is a application about credit and financing. Application is used by 40 to 50 users at a time. Application reporting is very heavy takes 2 to 3 minutes in generating.
I am using single db user "sa"
Now I am thinking to create all application users in server 2008 also.
Each application user will connect with own db user not with "sa" user
my question is that is It right decision?
It will increase my application performance? If it is not right then how i can increase its performance? as 40 users taking reports with single user may be take more time instead off each user taking with its own database user .

Please urgent help is required

What I have tried:

what is should do?
db is most of the time in transnational mode
Posted

"It right decision", yes absolutely. You should have never, ever, let your users to use the sa account to begin with.

And, no it's not urgent at all.
 
Share this answer
 
v2
Using a proper user authentication does not have anything to do with performance. In majority of scenarios the performance is the same regardless of the user logged in.

The benefit of 'knowing' the user in database is that you're able to define privileges on user basis in the database. This way you don't need to build any custom privilege handling for the database objects and you reduce the risk of seeing or modifying improper data.

A completely different question is, how do you do it, but if you know all your users and have proper login mechanism on the client side, then it's doable.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900