Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
4/8/01
HTRI software is protected with blue TimeHASP devices and red NetHASP devices.
TimeHASP devices protect your software investment on a standalone basis while the
NetHASP devices protect software access connected on a network. Both types of devices
are connected to the parallel printer port and can be daisy chained with a printer cable or
protection keys from other vendors.
HTRI Software distribution media include several utilities for the HASP devices. They
can be found in the folder labeled "Net Disk" on the media root.
HASP Installation
----------------------
The HTRI setup program automatically loads the latest tested device driver. However, it
might be necessary to update device drivers with versions released after HTRI software is
distributed or the device driver may need to be reinstalled. The latest device driver can
be obtained directly from Aladdin Knowledge Systems through the internet link listed
below.
http://www.aladdin.co.il/support/hasp/enduser.asp
The HASP device driver interfaces HASP-protected applications and the HASP. In other
words, protected applications communicate with the HASP through the HASP Device
Driver. The device driver is installed on Windows 95/98/ME and Windows NT/2000
computers through a program named HINSTALL.EXE.
Command: HINSTALL.EXE -i
Operation: Installs device driver.
Command: HINSTALL.EXE -?
Operation: Views the full list of options available.
Command: HINSTALL.EXE -r
Operation: Removes the resident device driver.
The HASP Device Driver loads dynamically under Windows 95/98/ME if it has not been
previously installed on the computer. After HASP Device Driver installation, HASP
applications require that you reboot your system (one time only per station). The HASP
Device Driver loads dynamically as soon as the HASP is accessed following the system
reboot. If you install an upgraded version of the HASP Device Driver after running a
HASP-protected application, you must reboot your system in order for the new driver
version to load dynamically.
No reboot is required if the device driver is installed or updated on Windows NT4 or
Windows 2000.
NetHASP devices require installation of the device driver and license manager on the
computer on which the red NetHASP device is attached. No software installation is
required on the client computers. The only HTRI software that needs to be installed on
the computer that acts as the network key server are the device driver and license
manager. Because network configurations vary quite significantly from one enterprise to
another and the NetHASP is typically configured on one computer in a workgroup, the
HTRI setup program does not automatically configure the HASP software.
Windows 95/98/ME
--------------------------
1) Connect the red NetHASP device to the parallel port.
3) Run LMSETUP.EXE.
5) Select the typical installation, custom installation (if you want to use command
line switches), or removal of the license manager.
6) Select the installation folder and program folder for the license manager.
3) Run LMSETUP.EXE.
6) Select the installation folder and program folder for the license manager.
Novell Netware
--------------------
1) Connect the red NetHASP device to the parallel port.
2) Copy HASPSERV.NLM to the system directory of the file server. The file is
located in the folder "\Net Disk\NetHASP License Managers\Novell on the
HTRI distribution media.
4) Copy the above command into the autoexec file of the Netware server. It is
recommended to put it at the end of the file.
DOS
------
1) Connect the red NetHASP device to the parallel port.
2) Copy HASPSERV.EXE to the hard drive. The file is stored in the folder "Net
Disk\NetHASP License Managers\DOS" on the HTRI distribution media.
3) Run HASPSERV.EXE
The most critical stage in NetHASP system installation is ensuring that the NetHASP
client (the station activating the protected application) finds the NetHASP License
Manager. A communication session can begin only after the NetHASP License Manager
is found.
The NetHASP automatic search lets you connect the NetHASP, load the NetHASP
License Manager, and activate the protected application, without any changes to the
NetHASP system or the environment in which it is installed. Nevertheless, the search
mechanism allows fine-tuning of the NetHASP system with simple client-server
adjustments. This is implemented by the NetHASP custom search.
Both the automatic and custom mechanisms are described below. An automatic search
takes place when the NetHASP client does not find a NetHASP configuration file (such
as nethasp.ini). The NetHASP-protected application then uses the following algorithm to
search for the NetHASP License Manager:
Begin
Detect the active communication protocols;
Initially, when beginning the NetHASP search loop, n=2 seconds. Before following the
automatic search algorithm, the NetHASP system first checks which protocols are
installed, and performs only the relevant steps. For example, if only the TCP/IP protocol
is detected, only step 2 in the above algorithm is performed. It is performed up to 3 times
(if needed), doubling the value of n each time.
With the automatic search under TCP/IP, NetHASP clients cannot access NetHASP
License Managers which are located in other subnets or on the Internet. To cross
subnets/Internet you need to customize the search mechanism.
Does not limit the search to n seconds. The search time remains 4 to 6 seconds during
each segment of the loop.
Determines which lana numbers (communication channels) are in operation and uses
them for communication.
Uses the default NetHASP NetBIOS name ("AladdinHaspV012.0").
Under NetBIOS, the automatic search mechanism operates according to the application
type running on the NetHASP client:
Software searches on all detected lana numbers for a NetHASP key. That is, the search
does not end when a NetHASP License Manager answers, but rather when a NetHASP
License Manager with the right NetHASP key answers. The Win32 NetHASP License
Manager listens on all detected lana numbers.
Because communication on all detected lana numbers takes time, an attempt is made to
communicate on a single lana number per iteration session. If communication fails, the
next iteration session uses the next detected lana number. If more than three lana
numbers are detected and the algorithm loop terminates its three iterations, step (3) in the
algorithm is performed again using the remaining unchecked lana numbers.
The "Net Disk\NetHASP Configuration File Wizard" folder on the HTRI distribution
media contains a utility, NHINIWIZ.EXE, that steps through a series of questions to
generate a base configuration file. No installation or setup is required to run the utility.
The utility can be copied to a local drive and invoked or it can be invoked off of the
distribution media.
The NetHASP client searches for the nethasp.ini file in the following locations:
Executable folder
Current folder (usually start directory specified in shortcut)
Windows system folder
Windows operating system folder
Folders in %PATH% environment variable
where <seconds> is the desired initial search period. Setting the NH_SESSION keyword
in the NH_COMMON section, applies to all protocols. To set the session value for each
protocol independently, set the value of NH_SESSION in each protocol section
separately.
* The procedure for instructing the client to use the address file is listed below.
1) Load the License Manager with the -ipxnosap switch
2) Edit the NETHASP.INI file as follows:
* In the [NH_COMMON] section, set NH_IPX=Enabled
* In the [NH_IPX] section, set NH_USE_BROADCAST=Disabled
3) Copy the file to a location accessible by the application.
This causes the client to look for the address of the computer with the License Manager
in the newhaddr.dat file. Note that HTRI programs cannot use the Bindery to locate the
License Manager.
* The procedure for locating a computer with a specific IP address that acts as the
License Manger is listed below. This allows the client to cross subnets to contact the
NetHASP key server.
1) Load the License Manager using the -tcpip switch
2) Edit the NETHASP.INI file as follows:
* In the [NH_COMMON] section, set NH_TCPIP=Enabled
* In the [NH_TCPIP] section, set NH_TCPIP_METHOD=TCP
* In the [NH_TCPIP] section, set NH_SERVER_ADDR=ip address
of the key server
3) Copy the file to a location accessible by the application.
* The procedure for using a port besides 475 for TCP/IP authentication is listed below.
1) Load the License Manager with the -tcpip and portnum=<port number> switches
2) Edit the NETHASP.INI file as follows:
* In the [NH_TCPIP] section, set NH_PORT_NUMBER=<port number>
3) Copy the file to a location accessible by the application.
AksDiag.exe is a setup program that installs the utility. The installation procedure is
listed below.
There is a base NETHASP.INI file in the folder labeled "\Net Disk\NetHASP License
Managers" that includes the options that can be configured. Each line in the file begins
with a ';' mark indicating that the line is commented and inactive. The keywords in the
file are not case sensitive.
[NH_COMMON] section
Keyword: NH_IPX
Possible values: enabled, disabled
Description Use the IPX protocol.
Keyword: NH_NETBIOS
Possible values: enabled, disabled
Description: Use the NetBIOS protocol
Keyword: NH_TCPIP
Possible values: enabled, disabled
Description: Use the TCP/IP protocol
Keyword: NH_MACHINE
Possible values: IBM, NEC
Description: Set the type of computer from which the protected
application is activated.
Default: IBM
Keyword: NH_SESSION
Possible values: <number>
Description: Set the maximum length of time during which the
protected application tries to establish communication
with the NetHASP License Manager.
Default: 2 seconds
Keyword: NH_SEND_RCV
Possible values: <number>
Description: Set the maximum length of time for the NetHASP License
Manager to send or receive a packet.
Default: 1 second
[NH_IPX] section
Keyword: NH_USE_BINDERY
Possible values: enabled, disabled
Description: Use IPX with bindery. Ignored under Win32 API. This
switch replaces the older switch named NH_USE_SAP.
Default: disabled
Keyword: NH_USE_BROADCAST
Possible values: enabled, disabled
Description: Use the IPX Broadcast mechanism.
Default: enabled
Keyword: NH_BC_SOCKET_NUM
Possible values: <number>
Description: Set the socket number for the broadcast mechanism. The
number is hexadecimal.
Default: 7483H
Keyword: NH_USE_INT
Possible values: 2F_NEW, 7A_OLD
Description: 2F_NEW means that the IPX protocol will use interrupt
2Fh ONLY. 7F_OLD means that the IPX protocol will
use interrupt 7Ah ONLY. disabled
Default: 2F_NEW
Keyword: NH_SERVER_NAME
Possible values: <name1>, <name2>,...
Description: Communicate with the NetHASP Server with the specified
name.
Maximum: 6 names, up to 7 case insensitive characters each.
Keyword: NH_SEARCH_METHOD
Possible values: localnet, internet
Description: Determine whether the protected application
communicates with only NetHASP License Managers on
the local network, or with any NetHASP License Manager
on the internetwork.
Default: internet
Keyword: NH_DATFILE_PATH
Possible values: <path>
Description: Specify the location of the NetHASP License Managers
address file.
[NH_NETBIOS] section
Keyword: NH_NBNAME
Possible values: <name>
Description: Assign a name to the NetHASP License Manager.
Maximum: 1 name, up to 8 case insensitive characters.
Keyword: NH_USELANANUM
Possible values: <number>
Description: Assign a lana number to be used as a communication
channel.
[NH_TCPIP] section
Keyword: NH_SERVER_ADDR
Possible values: <address1>, <address2>
Description: Set IP addresses of all the NetHASP License Managers
you want to search. Unlimited addresses and multiple
lines are possible.
Possible address format examples include:
IP address: 192.114.176.65
Local hostname: ftp.aladdin.co.il
Keyword: NH_SERVER_NAME
Possible values: <name1>, <name2>,...
Description: Communicate with the NetHASP Server with the specified
name(s).
Maximum: 6 names, up to 7 case insensitive characters each.
Keyword: NH_PORT_NUMBER
Possible values: <number>
Description: Set the TCP/IP port number (optional).
Default: 475
Keyword: NH_TCPIP_METHOD
Possible values: TCP, UDP
Description: Send a TCP packet or a UDP packet.
Default: UDP
Keyword: NH_USE_BROADCAST
Possible values: enabled, disabled
Description: Use the UDP Broadcast mechanism.
Default: enabled
A copy of NHSRV.INI is included with the HASP utilities in the folder labeled "Net
Disk\NetHASP License Managers" on the HTRI distribution media. Each line in the file
begins with a ';' mark indicating that the line is commented and inactive.
[NHS_SERVER] section
Keyword: NHS_IP_LIMIT
Possible values: <IpAddr>,<IpAddr>,...
Description: Specify the range of stations the NetHASP License
Manager serves. Applicable for the Win16 and Win32
License Managers.
For example: 10.1.1.1,10.1.1.*
Keyword: NHS_ADAPTER_IP
Possible values: <IpAddr-SubMask>,<IpAddr-SubMask>,...
Description: Specify the IP address of one or more network cards to
which the NetHASP License Manager listens. Applicable
only to the Win32 License Manager.
For example: 10.1.1.111-255.255.0.0