Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between windows authentication and
sql server authentication

Answer Posted / hari

SQL Authentication :
SQL Authentication is the typical authentication used for
various database systems, composed of a username and a
password. Obviously, an instance of SQL Server can have
multiple such user accounts (using SQL authentication) with
different usernames and passwords. In shared servers where
different users should have access to different databases,
SQL authentication should be used. Also, when a client
(remote computer) connects to an instance of SQL Server on
other computer than the one on which the client is running,
SQL Server authentication is needed. Even if you don't
define any SQL Server user accounts, at the time of
installation a root account - sa - is added with the
password you provided. Just like any SQL Server account,
this can be used to log-in localy or remotely, however if
an application is the one that does the log in, and it
should have access to only one database, it's strongly
recommended that you don't use the sa account, but create a
new one with limited access. Overall, SQL authentication is
the main authentication method to be used while the one we
review below - Windows Authentication - is more of a
convenience.
Windows Authentication :
When you are accessing SQL Server from the same computer it
is installed on, you shouldn't be prompted to type in an
username and password. And you are not, if you're using
Windows Authentication. With Windows Authentication, the
SQL Server service already knows that someone is logged in
into the operating system with the correct credentials, and
it uses these credentials to allow the user into its
databases. Of course, this works as long as the client
resides on the same computer as the SQL Server, or as long
as the connecting client matches the Windows credentials of
the server. Windows Authentication is often used as a more
convenient way to log-in into a SQL Server instance without
typing a username and a password, however when more users
are envolved, or remote connections are being established
with the SQL Server, SQL authentication should be used.

Is This Answer Correct ?    50 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we use trigger new in before insert?

915


Difference between Sql server reporting services and Crystal reports?

168


How to get a list of columns in a view using "sys.columns" in ms sql server?

982


what are different types of backups available in sql server? : Sql server database administration

927


How to write a query with a left outer join in ms sql server?

967


What are the advantages to use stored procedures?

1099


Describe the left outer join & right outer join. : sql server database administration

990


Does index speed up select statements?

1010


I create a separate index on each column of a table. What are the advantages and disadvantages of this approach? : Sql server database administration

1080


What are the properties of sub-query?

1063


Will sql server 2005 allow you to reduce the size of a column?

980


what is the difference between delete table and truncate table commands? : Sql server database administration

1027


What is sql injection and why is it a problem? : sql server security

1123


Why people hate cursor?

1138


What are the disadvantages of using querystrings to send data from one page to another?

998