encryption and decryption of licenses in softiger

advertisement
ENCRYPTION AND DECRYPTION OF LICENSES
IN SOFTIGER
Start-up :
Click “Start Menu” -> “Programs” -> “Softiger” -> “Softiger V2.2”. Then
select the item “Pack Tool” to load the package tool.
PackTool can encrypt following file types now: Html: WebPages. The filename
extensions are HTM, HTML and JS.
Office: MS Office files. The filename extensions are DOC, XLS, PPT and
PPS.
Media: Multi-media files. The filename extensions are ASF, ASX, WMA,
WMV, DAT,
MPG, AVI, MPEG, MP3, WAV, MPA, MPE, MPV and MOV.
Flash: The filename extension is SWF.
ASP: Active Server Pages. The filename extension is ASP.

Configuration
Set Authorization URL
You could choose to set the authorization URL so that when the user has no
license, he could automatically open the authorization WebPages. Or the enduser will input the authorization URL by himself. The URL is like that:
http://cn.safenet-inc.com/softiger/auth/default.asp
Set Developer’s Information
When you set this information which is your company name, it will be included
in the encrypted files.
Set download address (URL) of the Client program CAB file
This item supports only the html and asp files. When the end-user opens an
encrypted html or asp file and his computer has not installed the client side
programs, it will automatically download the client side programs from the
URL set by the developer. The URL is like that:
http://cn.safenet-inc.com/softiger/cab/
Select Supported File Types
The developer should select types of the encrypted file. The files that are not
the types will be only copied from the source directory to the destination
directory.
The HTML files are special types because they may include Windows Media
files (ASF, ASX, WMV and WMA) or Flash files in the web pages. So it must
modify the html files when encrypting them. If you choose to encrypt Windows
Media files or Flash files, you should set correlatively in the html file options.

Pack single file or a whole directory
Select to pack a single file or a whole directory including the subdirectories.
Disable list file
If there are some files or subdirectories you don’t want to encrypt in the
directory that will be encrypted, you could records their filenames to a file. We
call this file disable list file. At the same time you select the correlative option
on the top. Otherwise the disable list file can’t go into effect.
You could edit the disable list file with any text file editor. The following items
show how to edit the file.
File description: <file>filename</file> e.g.: <file> index.html </file>
Directory description: <dir> directory name</dir> e.g.: <dir> help </dir>
The filename and the directory name above are relative to the source
directory set in the pack tool. For example, if the source directory is “c:\
source” and you don’t need its subdirectory “HELP” (c:\source\help) to be
encrypted, you should append the following word to the disable list file:
<dir>help</dir> ( Uppercase or lowercase is the same.)
If you don’t need the subdirectory “Introduction” of the subdirectory “HELP”
(c:\ source \help\Introduction) to be encrypted:
<dir>help\Introduction</dir>
If you don’t need the file “index.html” in the source directory
(c:\source\index.html) to be encrypted, you should append the following word
to the disable list file:
<file> index.html </file>
After edition, you should save the file.
Packing File
After setting all the parameters, click “OK” to start package process.

Create or Upgrade License
Before using the files protected by Softiger, you must make sure that you
have already owned a valid license. If not so, please create a license or
upgrade the invalid license by authorization.

Step 1
1.1.
Create License
When creating a new license, a window will displayed like below:
If you select the second item “Continue the last step if you have got the
license string”, please go to step 5 . If you select the first item, it will display a
new window as follows.
 Step 2
You could select either activation-code or username-password mode. Note
that when you input the password, check the “CAP LOCK” key because of the
capital and normal letters are different in the database. The password is not
required so you may input blank if the user has no password. If you select
neither, you may authorize by other ways such as email or fax mode
authorization. If the user and password is not matched, it can’t check-up in
this step until they are sent to the developer. Activation-code mode is not
supported when upgrading license. If the activation code is not correct, it will
notify the user to input again.
 Step 3
In this step you can select the authorization mode. There are three modes:
1. Network authorization: The end user could be authorized through the
Internet by connecting to the activation center of the developer.
2. Email authorization: The end user sends the authorization string to the
developer by email. Then the developer returns the authorization or
upgrading string computing by the string sent from the end user. The
string finally is sent to the end user by email or other types.
3. Fax authorization: The end user prints the authorization information
and then sends them to the developer by fax. Then the developer
returns the authorization or upgrading string computing by the string
sent from the end user. The string finally is sent to the end user by
email or other types.
 Network Authorization
It will display the following window if choose the item “Network authorization”.
Input the authorization URL, press the button “Authorize” and then the
authorization system will create a license by connecting to the specified URL.
The license will be located in the storage you have specified. Thus the
authorization process is finished.
 Email Authorization
It will display the following window if choose the item “Email authorization”.
Input the email address of the developer, complete the title information and the
postscript and then click “Next”. It will display a window with the title named
“Choose Profile” if you have not open Outlook. Click “OK” to send the email to
the developer.
The end user may not need to send the request string immediately. He can save
the information to a file and then send it in future.
 Fax Authorization :
It will display the following window if choose the item “Fax authorization”.

Step 4: The Software Vendor will get the following
information either through Network, Email or Fax
Authorization information file
Developer:
Activation code:Q2CL-KV62-AQAA-ABYB-AEFA-UAAA-AAAC-NETU
License name:41c-Ram
Upgrading or not:No
License request
String:AEZ85ESMU7AVNUKDK8J2T8C3S3HCJRHQJUX942U7WKS9DLNJ8CWYA
2GU
Authorization date:2005-06-30
1) Click “Start Menu” -> “Programs” -> “Softiger” -> “Softiger V2.2”. Then
select the item “Developer Tool” to load the package tool.
2) Click on License String Managemnet Tab
3) Copy the License Request String from the Authorization information file
and paste in the License Request String TextBox
4) Click on License Request String. It will display the following window
and give the License String .
 Step 5
This step is the last of the authorization process. The end user needs to
input the authorization string or upgrading string getting from the developer.
When input completely, click “Finish”. It will create a new license or upgrade
an old license if the string is valid. After that, the protected digital contents
could be used now.
This step is the last of the authorization process. The end user needs to
input the authorization string or upgrading string getting from the developer.
When input completely, click “Finish”. It will create a new license or upgrade
an old license if the string is valid. After that, the protected digital contents
could be used now.
When input completely, click “Finish”. It will create a new license or upgrade
an old license if the string is valid. After that, the protected digital contents
could be used now.
This step is the last of the authorization process. The end user needs to input
the authorization string or upgrading string getting from the developer.
When input completely, click “Finish”. It will create a new license or upgrade
an old license if the string is valid. After that, the protected digital contents
could be used now.
Download