FIX: Web Setup Project Includes .vsdisco Files in Deployment Files (319968)
The information in this article applies to:
- Microsoft Visual C++ .NET (2002)
This article was previously published under Q319968 SYMPTOMS When you deploy a Managed Extensions for C++ Web Service by
using a Web Setup project, the .vsdisco file that is associated with the XML
Web Service project is included in the Content files group. Consequently, the
.vsdisco file is deployed to a production server. This is a security risk.
RESOLUTION To have control over which XML Web services clients can
discover, use only dynamic discovery on development Web servers. When you
deploy an XML Web Service to a production Web server, create a static discovery
file (.disco) instead of a dynamic discovery file (vdisco) for those XML Web
services that you want to permit clients to discover. To use the ExcludeFilter property to remove the .vsdisco file from the Outputs property
list, follow these steps:
- In Solution Explorer, click the Content files in your Web Setup project to display the properties for the
files.
- In Properties, click ExcludeFilter.
- Click Add Filter, and then type *.vsdisco. Click OK.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft
products that are listed at the beginning of this article.
This bug was corrected in Microsoft Visual C++ .NET (2003).
REFERENCES For more information, visit the following articles in the
Microsoft Developer Network (MSDN) Web sites:
Modification Type: | Major | Last Reviewed: | 4/11/2003 |
---|
Keywords: | kbfix kbbug kbIDEProject kbnofix KB319968 |
---|
|