Re: SQL Server Authentication
- From: "John R. Durant [MSFT]" <jdurant@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 19 Sep 2005 14:37:37 -0700
George,
I'm sorry to hear you are having some troubles with SQL authentication. If I
can I would love to persuade you to use Windows authentication if at all
possible. It offers such a cleaner model for deployment and maintenance. For
example, if you alter the login credentials for the SQL logins, the deployed
applicaiton that relies on those baked-in credentials will be broken until
an update is laid down. Now, you can get around this by using a config file
of some sort, but then you have to think about locking that down (security
concerns) and managing it. With Windows authentication, you need only
configure the perms on the server for the user accounts and you are back in
business!
If you do elect to go with SQL perms instead of Windows, make sure you are
doing your dev work in an account other than SA. I cannot tell you how many
applicaitons I have gone in to troubleshoot as a consultant and I find that
they are still using the SA account WITH A BLANK PASSWORD! Yes, it's sadly
true. Some of them were notable companies, and I found myself persuading the
IT/DEV departments to bite the bullet and re-work their infrastructure to
eliminate dependence on SA and the blank password.
HTH
--
John R. Durant [MSFT]
blog: http://blogs.msdn.com/johnrdurant
This posting is provided "AS IS" with no warranties, and confers no rights.
"George" <George@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8CDDB097-60EB-46FC-8212-F047DFEF431F@xxxxxxxxxxxxxxxx
> With VSTO using Visual Studio 2005, has anyone manage to use SQL Server
> authentication method to connect to a SQL Server database ?
>
> In the Visual Studio 2005 VSTO hands-on example provided in MSDN, I was
> able
> to use WINDOWS AUTHENTICATION to connect but for some reason, SQL Server
> Authentication method fail to connect.
>
.
- References:
- SQL Server Authentication
- From: George
- SQL Server Authentication
- Prev by Date: Re: XSD for Outlook Views
- Next by Date: Re: Really simple questions ;-)
- Previous by thread: Re: SQL Server Authentication
- Next by thread: unusual problem with object comparing
- Index(es):
Relevant Pages
|