Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application Design Question
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00981046
Message ID:
00981424
Views:
36
>I'm building an app which will target a SQL back end.
>
>The application will require a login. And of course SQL requires
>a login, so should the application use the same login as SQL?
>
>Thanks

The age old question. I think the answer is, it depends.

I think the best bet is to use NT Authentication (Trusted Connection) to connection to SQL Server.

If your app is using forms authentication your app will login with a trusted connection. You will need to give the aspnet wp account (Network Service in 2003) rights to exec your SP's. Assuming you are using SPs.

If your app is using NT Authentication then the windows user will be connectioned with the trusted connection, and that user will need the appropriate rights to run your app.

Many feel that it is safer to just give the app rights and not the user. This sort of adds an extra layer of security to your data. For example, if the user has no rights to the SQL Db then there is no way they can get to the data outside of the application.

BOb
Previous
Reply
Map
View

Click here to load this message in the networking platform