Re: Db connexion mode ???
- From: "William \(Bill\) Vaughn" <billvaRemoveThis@xxxxxxxxx>
- Date: Thu, 10 May 2007 12:43:22 -0700
That's an approach I discuss in the book. It can be easier to maintain but
it does require mixed-mode security. Another approach is to grant access to
a group to which the Windows users belong. See Chapter 9.
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------
"calderara" <calderara@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5684F197-E8B5-4E26-8D37-850E3C02265E@xxxxxxxxxxxxxxxx
Thanks for your comments.
Does it make sense to you then if I define a single SQL login that each
exe
file will use instead of using windows credentials , as I am not
interresting
in any auditing ?
thanks
serge
"William (Bill) Vaughn" wrote:
In this case, the Connection pool (which resides on the client) is
created
for each client application--even if they are identical. The Connection
Pool
was designed to deal with ASP issues and does not really help Windows
Forms
application performance--as a matter of fact, it can hurt performance and
can cut back on the number of data access alternatives.
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no
rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------
"calderara" <calderara@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5E0A1842-A393-4FC5-8DCA-7AAF93E9ECCC@xxxxxxxxxxxxxxxx
This is a windows forms application.
IN fact I have different windows forms application in separate exe file
each.
Each also make some requets to database
"William (Bill) Vaughn" wrote:
Ah, is this an ASP.NET application or a Windows Forms application? If
the
latter, the Connection pool is not a factor. Each process/program gets
its
own pool.
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no
rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest
book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------
"serge calderara" <sergecalderara@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:3F10235E-E02D-4726-99E4-5E23A3E0F92B@xxxxxxxxxxxxxxxx
Dear all,
I have different .NET library which request a connection to an SQL
server
database.
As far as I understoo authentication methode for SQL, as long as we
have
windows oprating system everywhere we can select SSI authentication
methode
for the database connection string. But in case if I have 5
different
login
user connecting at the same time to the database using such method,
it
will
create 5 different connection string that will be aplce in the pool
(
if
pooling is sued right) right ?
So in oder to use a single connection string ro all my library
accessing
to
the sever, would it be more eficcient to define an SQL
authentication
method
with a unique user credential that everyone will use concurantly ?
Does this solution will simplify and improve connection performance
by
having such unique conenction string ? in that way we do not need to
handle
pooling.
As also I do not want to make any login tracing, windows
authentication
might not be necesary in that case.
Any comment ?
Thanks for help
Regards
.
- References:
- Re: Db connexion mode ???
- From: William \(Bill\) Vaughn
- Re: Db connexion mode ???
- From: William \(Bill\) Vaughn
- Re: Db connexion mode ???
- From: calderara
- Re: Db connexion mode ???
- Prev by Date: Re: Finding information abour connecting to SQLEXPRESS on remote webserver
- Next by Date: Re: cannot generate SSPI context on Win XP machine
- Previous by thread: Re: Db connexion mode ???
- Next by thread: Finding information abour connecting to SQLEXPRESS on remote webserver
- Index(es):
Relevant Pages
|
Loading