Article ID: 870669 - Last Review: February 3, 2011 - Revision: 6.7 How to disable the ADODB.Stream object from Internet Explorer
On This PageAn ADO stream object contains methods for reading and writing binary files and text files. When an ADO stream object is combined with known security vulnerabilities in Microsoft Internet Explorer, a Web site could execute scripts from the Local Machine zone. To help protect your computer from this kind of attack, you can manually modify your registry. INTRODUCTIONAn ADO stream object represents a file in memory. The stream
object contains several methods for reading and writing binary files and text
files. When this by-design functionality is combined with known security
vulnerabilities in Microsoft Internet Explorer, an Internet Web site could
execute script from the Local Machine zone. This behavior occurs because the ADODB.Stream object permits access to the hard disk when the ADODB.Stream object is hosted in Internet Explorer. MORE INFORMATIONAny line-of-business Web application that requires a file to
be loaded or to be saved to the hard disk may use the ADODB.Stream object in Internet Explorer. For example, if an intranet server
hosts a form that an employee must download and fill out, the ADODB.Stream object is used to obtain the file and to save the file locally.
After the user edits the file locally and submits the file back to the server,
the ADODB.Stream object is used to read the file from the local hard disk and to
send the file back to the server. We strongly recommend that you use different methods to provide this functionality. For example, you may use an application or a control that requires the user to deliberately access the hard disk. Software update informationImportant This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:322756
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows Microsoft has provided three ways to disable the ADODB.Stream object from Internet Explorer. You can use Microsoft Windows Update to update your computer, you can download an update file from the Microsoft Download Center, or you can disable the ADODB.Stream object manually. These methods work by creating the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet
Explorer\ActiveX Compatibility\{00000566-0000-0010-8000-00AA006D2EA4}
Important notes
Windows UpdateTo install this update, visit the following Microsoft Web site:http://update.microsoft.com
(http://update.microsoft.com)
Microsoft Download Center updateTo disable the ADODB.Stream object by using a registry key update that is available from the Microsoft Download Center, visit one of the following Microsoft Web sites, depending on your operating system:Windows XP, Windows 2000, Windows NT, Windows Server 2003 http://www.microsoft.com/downloads/details.aspx?FamilyId=4D056748-C538-46F6-B7C8-2FBFD0D237E3&displaylang=en
(http://www.microsoft.com/downloads/details.aspx?FamilyId=4D056748-C538-46F6-B7C8-2FBFD0D237E3&displaylang=en)
Windows 9x, Windows Mehttp://www.microsoft.com/downloads/details.aspx?FamilyId=FE2A5B1C-FF30-40A0-8E70-C9F1F4DCD8C2&displaylang=en
(http://www.microsoft.com/downloads/details.aspx?FamilyId=FE2A5B1C-FF30-40A0-8E70-C9F1F4DCD8C2&displaylang=en)
Windows XP Version 2003, 64-Bit Edition
, Windows Server 2003, 64-Bit Editionhttp://www.microsoft.com/downloads/details.aspx?FamilyId=E7576B19-DE8B-41B0-BBD9-06C39591CECF&displaylang=en
(http://www.microsoft.com/downloads/details.aspx?FamilyId=E7576B19-DE8B-41B0-BBD9-06C39591CECF&displaylang=en)
Additional information and download instructions are available on
the Microsoft Download Center Web site. Manual processTo disable the ADODB.Stream object by manually creating the registry key, follow these steps:
Important notesWhen you add this registry key, only the ADODB.Stream object in Internet Explorer is affected. No other ADO objects are affected by this change.After you apply the update, you will receive the following error message when you try to use an ADO stream object from an HTML page in Internet Explorer: ActiveX component can’t
create object: ‘ADODB.Stream’
REFERENCES For
additional information about how to strengthen the Local Machine zone in
Internet Explorer, click the following article number to view the article in
the Microsoft Knowledge Base: 833633
(http://support.microsoft.com/kb/833633/
)
How to strengthen the security settings for the Local Machine zone in Internet Explorer
For more information about Internet security, visit
the following Microsoft Web site:http://www.microsoft.com/protect/computer/advanced/browsing.mspx
(http://www.microsoft.com/protect/computer/advanced/browsing.mspx)
For additional information about
how to stop ActiveX controls from running on your system, click the following
article number to view the article in the Microsoft Knowledge Base: 240797
(http://support.microsoft.com/kb/240797/
)
How to stop an ActiveX control from running in Internet Explorer
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
