Re: ODBC vs OLEDB - Is there a real differnece?
From: Ken Schaefer (kenREMOVE_at_THISadOpenStatic.com)
Date: 03/24/04
- Next message: Aaron Bertrand [MVP]: "Re: asp to asp.net"
- Previous message: ptreves: "Initialization string <> OLE DB spec."
- In reply to: John Hoge: "ODBC vs OLEDB - Is there a real differnece?"
- Next in thread: Bob Barrows: "Re: ODBC vs OLEDB - Is there a real differnece?"
- Reply: Bob Barrows: "Re: ODBC vs OLEDB - Is there a real differnece?"
- Reply: John Hoge: "Re: ODBC vs OLEDB - Is there a real differnece?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 24 Mar 2004 14:46:51 +1100
a) To get to ODBC you now need to go through an OLEDB Provider (the OLEDB
Provider for ODBC Drivers)
b) I don't understand what you're talking about with respect to "passwords
in clear text". Clear text where? If you want to connect to the SQL Server
using the IUSR_<machinename> account you use "Integrated Windows Security"
to connect to the SQL Server. There's no need to store the password anywhere
yourself:
strConnect = _
"Provider=SQLOLEDB;" & _
"Data Source=<servername>;" & _
"Initial Catalog=<databasename>;" & _
"Integrated Security=SSPI;"
Cheers
Ken
"John Hoge" <jhoge123@yahoo.com> wrote in message
news:d0f2d316.0403231712.69123f33@posting.google.com...
: I've been told that OLEDB is a faster way to get to a SQL Server
: database from ADO than to use ODBC. My paranoid streak prevents me
: from putting a password in cleartext on my web server. Given the
: number of source revelation exploits I've read about, I would rather
: not do this and just use the IUSR account through the ODBC driver.
:
: Any thoughts on the issue?
- Next message: Aaron Bertrand [MVP]: "Re: asp to asp.net"
- Previous message: ptreves: "Initialization string <> OLE DB spec."
- In reply to: John Hoge: "ODBC vs OLEDB - Is there a real differnece?"
- Next in thread: Bob Barrows: "Re: ODBC vs OLEDB - Is there a real differnece?"
- Reply: Bob Barrows: "Re: ODBC vs OLEDB - Is there a real differnece?"
- Reply: John Hoge: "Re: ODBC vs OLEDB - Is there a real differnece?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|