Possible to Obtain Password to SQL Database Attached to OWC PivotTable in Office Excel 2003 (828695)



The information in this article applies to:

  • Microsoft Office Excel 2003

For a Microsoft Excel 2002 version of this article, see 828696.

SYMPTOMS

When you connect to an Office Web Component (OWC) PivotTable in your Web browser, and then click Export to Excel, you may be able to obtain the password to the SQL database that is connected to the PivotTable.

CAUSE

This problem may occur when Microsoft ActiveX Data Objects (ADO) is used to connect your OWC PivotTable to your SQL database.

The password to your SQL database can be easily obtained after the PivotTable has been exported to Microsoft Excel if you use Microsoft Visual Basic for Applications (VBA) commands that are similar to the following in the Visual Basic Editor in Excel:

ActiveCell.PivotTable.PivotCache.SavePassword=True
?ActiveCell.PivotTable.PivotCache.Connection

RESOLUTION

To prevent revealing your SQL database password, use Integrated Windows Security, also named Microsoft Windows NT Challenge Response (NTLM).

For more information about Microsoft NTLM, visit the following Microsoft MSDN Web page:

STATUS

Microsoft has confirmed that this is a problem in Microsoft Office Excel 2003 .

Modification Type:MinorLast Reviewed:1/11/2006
Keywords:kbfix kbBug KB828695 kbAudEndUser kbAudDeveloper