XL2000: How to Avoid Saving Password in Text File When You Get External Data (253300)
The information in this article applies to:
This article was previously published under Q253300 SYMPTOMS
When you use a new database query to retrieve data from external sources into Microsoft Excel, you are asked to save the password twice. If you select either of the following check boxes - Save my UserID and Password in the data source definition (in the Create New Data Source dialog box)
-or-
- Save password (in the External Data Range Properties dialog box)
Excel saves the password into a text file, which creates a potential security problem.
RESOLUTION
To resolve this problem, use either of the following methods.
When you create your data source name, click to clear the following check boxes: - Save my UserID and Password in the data source definition (in the Create New Data Source dialog box)
-and-
- Save password (in the External Data Range Properties dialog box)
-or-
Use the following registry key to disable password caching. To do this, follow these steps. WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may
require you to reinstall your operating system. Microsoft cannot guarantee that you can solve
problems that result from using Registry Editor incorrectly. Use Registry Editor at your own
risk. - Click Start, and then click Run. Type regedit, and press ENTER.
- In the left pane of Registry Editor, locate and select the following subkey (folder):
HKEY_LOCAL_MACHINE\Software\Microsoft\Office\9.0\Common\Security NOTE: If this subkey does not exist, right-click the Common folder, point to New on the shortcut menu, and then click Key. Type Security and then press ENTER. - Right-click the Security folder, point to New on the shortcut menu, and then click DWORD Value.
- To name the new DWORD value, type DisablePwdCaching and then press ENTER.
- In the right pane of Registry Editor, double-click the DisablePwdCaching value that you just created.
- In the Edit DWORD Value dialog box, type 1 in the Value data box (replacing the 0).
- Click OK.
- On the Registry menu, click Exit.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
This problem was corrected in Microsoft Office 2000 SR-1/SR-1a.
Modification Type: | Major | Last Reviewed: | 10/7/2003 |
---|
Keywords: | kbprb KB253300 |
---|
|