0

I have a small web application in asp.net and I'm using SQL Server. How do I authenticate my web application to block some people from changing the database?

This statement has to change from this:

Data Source=AYKUT-PC;Initial Catalog=BUS;Integrated Security=True

To something like this:

Data Source=AYKUT-PC;Initial Catalog=BUS;Integrated Security=False
1
  • Are all of your users going to be Windows Authenticated users? Commented Dec 29, 2011 at 1:13

1 Answer 1

3

Integrated Security is a feature that allows SQL Server to authenticate a user based on their Windows login.

You could also use SQL Server authentication, which would require a specific user name / password to login.

Finally - you could use Mixed mode that would allow both SQL Server and Windows authentication.

Here's an article about it: http://technet.microsoft.com/en-us/library/ms144284.aspx

If you would like a more detailed answer about how to implement it - you should probably give more information about your situation, and what your requirements are.

EDIT:

SQL Server can restrict permissions to users (or SQL Logins). So you could restrict acccess to certain tables through a combination of authentication methods and security permissions.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.