Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Security / October 2005

Tip: Looking for answers? Try searching our database.

Hlep with Simple questions about Authentication

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
zhaounknown - 08 Oct 2005 22:26 GMT
The following question may be trivial, however, I just can't make it clear to
myself, even after reading through the Books Online.

I have two machines in the same network.
A hosts Sql Server (named AS), B access the database ASD in Sql Server AS.
A has windows logon info as UserA and PasswordA, (administrator account).
B has windows logon info as UserB and PasswordB. Application is running
under this account.

The Sql Server is set to Windows and Sql Serevr Mixed Authentication Mode,
The database ASD has a UserAS and PasswordAS as the db owner.

My question is:To successfully access AS from B, does the connection first
pass A's window authentication, then pass the AS's SQL Server authentication
(if set to Mixed Mode)?

If this is true,
What connection string (in ADO.Net) should I have to connect to the Database?
Or, what authentication settings I should have(set) to make a successful
connection in the case describled above (B access AS on A)?

I observered, with the following string to work: "user
id=UserAS;password=PasswordASD; data source=AS;initial catalog=ASD; persist
security info=True;" , I should first set the A's login credential in B by
visiting B's network place.

Additional Question:
When I use Windows NT Integrated Security from B, which username and
password is used to acess AS on A?

When I use specific user name and password, how to create a pair of username
and password in AS so that the username and password can be authenticated by
the windows A and sql server AS.

Thanks.
Uri Dimant - 09 Oct 2005 07:08 GMT
Start with this
http://vyaskn.tripod.com/sql_server_security_best_practices.htm  --------security
best practices

> The following question may be trivial, however, I just can't make it clear
> to
[quoted text clipped - 37 lines]
>
> Thanks.
zhaounknown - 09 Oct 2005 18:49 GMT
I read though the article at the link.
It stated that:
Mixed mode: Valid SQL Server login accounts and passwords are not related to
your Microsoft Windows NT/2000 accounts. With this authentication mode, you
must supply the SQL Server login and password when you connect to SQL Server.

I did have sql server user name and password set in the SQL Server and
supply the username and password for connection. But the connection is
refused because "SQL Server doesn't exists or access denied."

> Start with this
> http://vyaskn.tripod.com/sql_server_security_best_practices.htm  --------security
[quoted text clipped - 41 lines]
> >
> > Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.