|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: 2 days ago @ 9:08 AM
Points: 2,433,
Visits: 653
|
|
As a DBA my main concern is with apps developers who code things up with the assumption that they will have access to the SA password or similarly excessive access rights.
I would have thought that if you can add your own sections to a web.config file then you should be able to implement your own web.config reader to have a connection string decrypt method. The obvious problem is that the decryption key has to be stored somewhere.
LinkedIn Profile
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Friday, September 04, 2009 8:09 AM
Points: 249,
Visits: 61
|
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Wednesday, April 15, 2009 2:30 PM
Points: 4,
Visits: 14
|
|
On the contrary Steve, config files are finally the perfect place to store connection strings since the .net 2.0 framework came out with "protected configuration".
This article will show you how to simplify encrypting your connection string in your config files (web AND app). http://msdn2.microsoft.com/en-us/library/dtkwfdky.aspx
Hope this helps ease your mind! Before this came out, I shared your opinion about the plain text. ~DR
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Friday, September 04, 2009 8:09 AM
Points: 249,
Visits: 61
|
|
Won't it be nice when Kerberos is easier to set up. Then we can just do single sign-on and not worry about storing any credentials outside AD. If anyone knows of any good articles on how to set this up reliably I would love to know about it!
Bryant E. Byrd, BSSE MCDBA MCAD SQL Server DBA bryant{at}mindfair.com
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, April 04, 2008 2:16 PM
Points: 7,
Visits: 12
|
|
Thanks for the responses. We are still using 1.1 and an older version of the application blocks so once we move to 2.0 we will definately investigate the encryption. That might solve the trick.
|
|
|
|
|
SSCertifiable
       
Group: Moderators
Last Login: Thursday, March 11, 2010 10:33 AM
Points: 6,371,
Visits: 950
|
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, April 04, 2008 2:16 PM
Points: 7,
Visits: 12
|
|
We certainly haven't thrown out the idea. We will just have to investigate how best to implement it in such a manner that we are satisfied with the approach and flexibilty it gives us. Just a note, we are currently using a modified version of the precursor Microsoft Application Data Blocks. We did in fact end up "changing the code" in a # of different ways because it was lacking and we didn't like the things that it assumed. Earlier versions of it did not have the built in flexibility that the Enteriprise library appears to now have. This had me concerned that we were being herded down a path that we did not necessarily wish to go just because "everyone else is doing it". But it sound like my concerns will be allievated. Thanks for all the input.
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: 2 days ago @ 7:12 PM
Points: 3,082,
Visits: 12,545
|
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, October 08, 2009 12:55 PM
Points: 2,
Visits: 3
|
|
Hi, i'm a student trying to connect enterprise Library with SQL Server 2005 but when i go to test the connection the following pops up
The user instance login flag is not supported on this version of SQL Server. The connection will be closed.
Does this mean that the enterprise library doesn't support SQL server 2005?
Thanks
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: 2 days ago @ 7:12 PM
Points: 3,082,
Visits: 12,545
|
|
The short answer is no because I used it to develop a very large three layered application with 2005. However in 2005 you must be in SP2 or SP3 and Enterprise Library must install in your C drive or it will not run. And I think you may be running a User Instance if you are in SQL Server Express, I don't know if User Instance is supported because I was using Server instance in the developer edition.
So check your service pack, Enterprise Library drive and make sure it is server instance.
Kind regards, Gift Peddie
|
|
|
|