Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Windows authentication.

 
   Database Forums (Home) -> Client RSS
Next:  PHP based Small Business Order Management Tool?  
Author Message
Smith

External


Since: Jan 22, 2008
Posts: 17



(Msg. 1) Posted: Wed Feb 06, 2008 7:48 pm
Post subject: Windows authentication.
Archived from groups: microsoft>public>sqlserver>clients (more info?)

Dear professional.

I would appreciate if anyone can reply me about this. As my understanding
and microsoft also recommend that always use Windows authentication mode for
security. Can anybody let me know if I use windows authentication mode then
how application and database connect each other, is there any buildin
machine level user or how to mention in my webconfig file to connect to
database and what if I want to connect my database from client side, which
userid should I provide to connect as I am using windows authenciation mode.
In mixed mode we can create couple of uses and use that users to connect to
sql server (query analyzer). What I have to use in Windows authentication
mode and Both client and server are not in same Domain or may be both are on
workgroup.

Please advice.

Thanks

 >> Stay informed about: Windows authentication. 
Back to top
Login to vote
Duncan McC

External


Since: Feb 04, 2008
Posts: 1



(Msg. 2) Posted: Thu Feb 07, 2008 12:00 am
Post subject: Re: Windows authentication. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article ,
naissani.RemoveThis@hotmail.co says...
> Dear professional.
>
> I would appreciate if anyone can reply me about this. As my understanding
> and microsoft also recommend that always use Windows authentication mode for
> security. Can anybody let me know if I use windows authentication mode then
> how application and database connect each other, is there any buildin
> machine level user or how to mention in my webconfig file to connect to
> database and what if I want to connect my database from client side, which
> userid should I provide to connect as I am using windows authenciation mode.
> In mixed mode we can create couple of uses and use that users to connect to
> sql server (query analyzer). What I have to use in Windows authentication
> mode and Both client and server are not in same Domain or may be both are on
> workgroup.

There are various methods your app could use to talk to the db. One eg.
might be ADO. Using that eg. you'll then have an ADO config in Control
Panel, and in there you can set Windows Auth and the database to connect
to.

That's just one eg (using ADO).

--
Duncan

 >> Stay informed about: Windows authentication. 
Back to top
Login to vote
Ekrem_Önsoy

External


Since: Aug 29, 2007
Posts: 192



(Msg. 3) Posted: Thu Feb 07, 2008 9:00 am
Post subject: Re: Windows authentication. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Smith,

I guess your application is an ASP.Net application as it uses a webconfig
file? If so, Windows Authentication may not work for you in this case
because when you use the Windows Authentication as the authentication mode
for your SQL Server, (I don't know where you host your web application but I
assume it's going to be hosted by a hosting company) your web application
will try to connect to your SQL Server with a not trusted user account which
will needed to be authenticated by the AD or something. And as it's a not
trusted user, it'll fail.

In such cases you should use SQL Authentication. And your connection string
would be something like "data source=localhost; initial catalog=mydb;
uid=testuser; pwd=****"

Windows Authentication is very useful in domain environments where there is
trust relationship between clients and server and your clients are members
of domain.

--
Ekrem Önsoy


"Smith" wrote in message

> Dear professional.
>
> I would appreciate if anyone can reply me about this. As my understanding
> and microsoft also recommend that always use Windows authentication mode
> for security. Can anybody let me know if I use windows authentication mode
> then how application and database connect each other, is there any buildin
> machine level user or how to mention in my webconfig file to connect to
> database and what if I want to connect my database from client side, which
> userid should I provide to connect as I am using windows authenciation
> mode. In mixed mode we can create couple of uses and use that users to
> connect to sql server (query analyzer). What I have to use in Windows
> authentication mode and Both client and server are not in same Domain or
> may be both are on workgroup.
>
> Please advice.
>
> Thanks
 >> Stay informed about: Windows authentication. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Windows XP SP2 can't connect to SQL server - We have a problem at one site, a new server (2003 SBS & SQL server) has recently been installed, all the clients are Windows XP with SP2, none of them can connect to the SQL server, the error they get on testing the connection is to check the user...

SQLExpress and Windows XP Firewall - I cannot connect remotely to a machine that is running SQLExpress while the XP firewall is on. I have opened up ports 1433 and 1434, but it doesn't help. If I turn the firewall off, then I can connect. Any suggestions? Bill

windows XP Client for sql server 2000 - do i need to install any Ms client software to connect to a sql server 2000 machine ? Or does windows XP sp2 do it out of the box ? any help here would be GREAT !!! thanks in advance !

SQL Server 2005 Client on Windows XP - I have a SQL Server 2005 Client on Windows XP and tried to connect SQL Server 2005 it connect perfactly fine. I also have a SQL Server 2005 into Windows 2000 and when I tried to connect from Windows 2000 to Database Server, it gave me connection error...

Client windows pause on opening - I am running an enterprise application on a terminal server. The first time the app opens a windows, then at odd and sometimes frequent intervals when opening new windows, there is an 8 to 15 second pause opening the new window. We ran a trace on the...
   Database Forums (Home) -> Client All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]