By signing your cab file, you are providing a statement of the code's authenticity. ActiveX security measures implemented in Internet Explorer are geared towards preventing the end user from downloading unsigned ActiveX controls. Because of this, you will need to distribute a signed version of the XFile cab file. SoftArtisans provides a SoftArtisans-signed cab file with built-in limitations, or you can create your own cab file with the fully-functional version of the XFile dlls and sign the cab file yourself.
XFile's automatic installation installs two sets of dlls. One set is wrapped in a cabinet file (SAXFile.cab in XFileSE and SAXFileEE.cab in XFileEE) that is signed by SoftArtisans, and the other set is a collection of individual dlls. XFile includes two sets of dlls (in a CAB file, and outside of a CAB file) for the following reasons:
The CAB file you receive with XFile (SAXFile.cab with XFileSEand SAXFileEE.cab with XFileEE) is signed by SoftArtisans.
It will prompt the user in the case of a hidden upload through the
visual upload control, or a hidden download through the
visual download control.
That is, if you try to transfer a file through the one of the visual controls
without displaying the file name in the control (using
AXFFile.XFRequest.AddFile
or AXFFileDownload.XFRequest.AddFile
),
XFile will display a dialog asking the user to accept or refuse the upload or download.
Only the CAB version of SoftArtisans XFile will display the file-transfer confirmation dialog. If If the non-CAB version of XFile (the set of individual dlls) is installed on the user's machine, the dialog will not appear. |
Signing your own CAB file allows you to,
The following table lists the files installed with each XFile editon:
XFileEE | XFileSE | Description |
---|---|---|
SAXFileEE.cab | SAXFile.cab | Cabinet file containing all XFile's dlls except SAXFShExEE.dll/SAXFShEx.dll. |
SAXFileEE.dll | SAXFile.dll | Non-visual file-transfer engine |
xfclient.dll | xfclient.dll | |
SAAXFileEE.dll | SAAXFile.dll | Visual upload and download controls |
SAXFShExEE.dll | SAXFShEx.dll | Shell extension |
SAArch.dll | SAArch.dll | Archive file creation/extraction component |
SAFilMgr.dll | SAFilMgr.dll | File management component |
You can sign one CAB including all six dlls, or separate CABs for the following modules.
SoftArtisans XFile Module | SAXFile.dll/SAXFileEE.dll,
SAAXFile.dll/SAAXFileEE.dll, [SAXFShEx.dll/SAXFShExEE.dll], SAXFile.inf/SAXFileEE.inf Inclusion of SAXFShEx.dll/SAXFShExEE.dll is optional. Add it to the CAB if you want to Customize uploads through the Windows Explorer Shell Extension . |
---|---|
SoftArtisans Archive Module | SAArch.dll, SAXFile.inf/SAXFileEE.inf |
SoftArtisans FileManager Module | SAFilMgr.dll, SAXFile.inf/SAXFileEE.inf |
If you intend to sign a CAB containing only one of the modules listed above, create a CAB containing the module's files, and remove from SAXFile.inf all references to dlls you are not including. For example, to sign a SoftArtisans Archive CAB:
When creating a CAB for SoftArtisans Archive or SoftArtisans FileManager, remove from SAXFile.inf all references to SAXFShEx.dll, as well as references to SAXFile.dll and SAAXFile.dll. |
If you are creating a CAB including SoftArtisans XFile (with or without SoftArtisans Archive and SoftArtisans FileManager), and want to prevent the display of the download confirmation box,
To sign XFile you will need: