Microsoft KB Archive/219405

= SAMPLE: SSApplet.exe Connects to SourceSafe Through a Web Site Using Java =

Article ID: 219405

Article Last Modified on 9/13/2005

-

APPLIES TO


 * Microsoft Visual SourceSafe 6.0 Standard Edition
 * Microsoft Java Virtual Machine
 * Microsoft Visual J++ 6.0 Standard Edition

-



This article was previously published under Q219405



SUMMARY
SSApplet.exe is a sample that attaches to a Visual SourceSafe database and allows SourceSafe actions to occur through a Web site.

This sample was written using Visual J++ 6.0. It uses the Windows Foundation Classes for Java and contains the source code. It should be opened in and compiled from inside Visual J++.

In order for this sample to be used on a Web site, you must create a share called \\Werver\Wwwroot that is the root Web location. This share is used to display a list of files on the Web.



MORE INFORMATION
The following file is available for download from the Microsoft Download Center:

SSApplet.exe

Release Date: Jan-21-2000

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

Security
COM components can get access to any system resources. As such, they are both very powerful and potentially very dangerous. In the Microsoft virtual machine for Java (Microsoft VM) provided in Microsoft Internet Explorer 3.0 and later, only trusted class files can use COM components. Class files from digitally signed CAB files are trusted.

If the HTML file is run from Microsoft Developer Studio, the class files are also trusted. This can be very helpful during applet development. However, to deliver your applet to other users, you must put it in a signed CAB file.

Because this CAB file is run as an applet, the class file may be downloaded to your computer. There is a potential security threat in running downloaded software. To run a Java applet that uses COM components, the applet code must be trusted. For more information on CAB and Sign technology, look in the Cab&Sign folder on the Visual J++ CD-ROM. The Visual J++ CD-ROM also includes a sample called CabAndSign that gives step-by-step instructions on how to create CAB files and Test Certificates.

NOTE: The HTML page for this sample uses the Microsoft Agent to tell the user what to do and also to display error messages. See the "References" section to find more information about the Microsoft Agent.

