secmgr

Description

The 'secmgr' object is the MeadCo Security Manager that provides the license enabling and information for other objects, such as ScriptX and ScriptX printing.

For client side usage in Internet Explorer Security Manager is a non-visual object and should be instantiated in the <head> or <body> section of a document as early as possible.

Here is an example of a Security Manager object which validates ScriptX's advanced printing:

<!-- MeadCo Security Manager -->
<object id="secmgr" style="display:none"
 classid="clsid:5445be81-b796-11d2-b931-002018654e2e"
 codebase="http:// [your path here]/smsx.cab#Version=8,3,0,4
">
 <param name="GUID" value="{YOUR_LICENSE_GUID}" />
 <param name="Path" value=http://[your path here]/sxlic.mlf />
 <param name="Revision" value="[YOUR_LICENSE_REVISION]" />
 <param name="PerUser" value="true" />
</object>

<!-- Followed by the MeadCo ScriptX Factory object -->
<!-- MeadCo ScriptX -->
<object id=factory style="display:none"
 classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814">
</object>

If the 'PerUser' value is 'false' then a valid and accepted license will be stored in the local machine registry. When protected mode is enabled in Internet Explorer, an elevation prompt will occur to enable this.

With server side/application licenses, instructions are provided with the license on how to successfully install and apply the license.

In application and server side usage, Security Manager is instantiated by the usual technique of creating a COM object.

For example:

Set secMgr = Server.CreateObject("MeadCo.SecMgr")

or:

_secMgr = new SecMgr.SecMgr();

See also

Guide to Security Manager