圣天狗使用说明2003

上传人:wm****3 文档编号:51890355 上传时间:2018-08-17 格式:PPT 页数:46 大小:1.90MB
返回 下载 相关 举报
圣天狗使用说明2003_第1页
第1页 / 共46页
圣天狗使用说明2003_第2页
第2页 / 共46页
圣天狗使用说明2003_第3页
第3页 / 共46页
圣天狗使用说明2003_第4页
第4页 / 共46页
圣天狗使用说明2003_第5页
第5页 / 共46页
点击查看更多>>
资源描述

《圣天狗使用说明2003》由会员分享,可在线阅读,更多相关《圣天狗使用说明2003(46页珍藏版)》请在金锄头文库上搜索。

1、圣天狗使用说明www.safenet- 2006 SafeNet Inc. All rights reserved.前期准备安装圣天狗的开发包 默认路径为C:/Program Files/SafeNet Sentinel/Sentinel Keys/1.3区分圣天狗套间中的3只硬件, 根据硬件标识分别为I 开发商狗;D 代理商狗;S 圣天狗;开始使用圣天狗www.safenet- 2006 SafeNet Inc. All rights reserved.步骤1, 运行圣天狗工具包www.safenet- 2006 SafeNet Inc. All rights reserved.步骤2, 进

2、行许可证设计(License Designer)www.safenet- 2006 SafeNet Inc. All rights reserved.步骤2(续)选择API Feature, 继续www.safenet- 2006 SafeNet Inc. All rights reserved.步骤2(续) 点Add, 继续www.safenet- 2006 SafeNet Inc. All rights reserved.步骤2(续) 左侧列出了7种feature 后面会以添加String和AES为例www.safenet- 2006 SafeNet Inc. All rights res

3、erved.步骤2(续) 添加一个Stringwww.safenet- 2006 SafeNet Inc. All rights reserved.步骤2(续) 添加一个AESwww.safenet- 2006 SafeNet Inc. All rights reserved.步骤2(续) 继续www.safenet- 2006 SafeNet Inc. All rights reserved.步骤2(续) 给许可证模板取名, 完成 (如果是网络版,可以设置用户数)www.safenet- 2006 SafeNet Inc. All rights reserved.步骤2(续) 如图, 许可证

4、设计完成, 添加了两个特征项www.safenet- 2006 SafeNet Inc. All rights reserved.步骤2(续) 点构建选项, 设置编程语言, 基于AES查询响 应的数目www.safenet- 2006 SafeNet Inc. All rights reserved.步骤2(续) 进行构建 Buildwww.safenet- 2006 SafeNet Inc. All rights reserved.步骤2(续) 构建完成后, 提示保存生成的头文件和库文件默认路径如下 C:Documents and SettingsAdministratorMy Docume

5、ntsSentinel Keys 1.0My License Templatestestwww.safenet- 2006 SafeNet Inc. All rights reserved.步骤2(续) API设计完成. 至此, 许可证API的部分设计完成. 开发商可以在程序中开始调用圣天狗提供的API进行加密, 可以参考 构建时生成的代码框架里的代码进行编程, 路径如下, C:Documents and SettingsAdministratorMyDocumentsSentinel Keys 1.0My License TemplatestestCodesketchC_LangCodesk

6、etch.html 针对不同的开发语言, 圣天狗提供了相应的可以调用的dll和lib, 可以 在如下目录找到 C:Program FilesSafeNet SentinelSentinel Keys1.0Compiler Interfaceswww.safenet- 2006 SafeNet Inc. All rights reserved.步骤2(续) 外壳加密通过之前的API设计, 在代码中加入圣天狗的相关函数, 对程序已经进 行了API的保护, 如果开发商还想同时对API保护后的exe或者DLL进 行外壳加密, 可以在已经设计好的许可证模板下添加. 如下图, 添加好要加密的exe或者dl

7、l之后, 点Make Shell(protect)即可 ; 然后重新build 构建. www.safenet- 2006 SafeNet Inc. All rights reserved.步骤2(续)外壳加密此时通过API和Shell同时保护的程序生成, 加密完成.www.safenet- 2006 SafeNet Inc. All rights reserved.步骤3 License Manager 许可证管理为了方便开发商批量初始化定购的圣天狗硬件, 工具包里提供License manager功能, 点License Group name右侧的斜上箭头www.safenet- 2006

8、 SafeNet Inc. All rights reserved.步骤3(续) Createwww.safenet- 2006 SafeNet Inc. All rights reserved.步骤3(续) Add创建好的许可证www.safenet- 2006 SafeNet Inc. All rights reserved.步骤3(续) 点Ok即可.www.safenet- 2006 SafeNet Inc. All rights reserved.步骤3(续) 用Programming Sentinel Key写锁www.safenet- 2006 SafeNet Inc. All r

9、ights reserved.步骤4 使用代理商狗来写锁开发商采用渠道销售时, 往往需要给代理商开放写锁的功能, 同时对代 理商写锁数目控制, 使用我们提供的代理商狗可以很好的实现这一点. 在license Manager 选项里, 右侧选择Program Distributor Key 使用Metered可以控制代理商写锁的数目.www.safenet- 2006 SafeNet Inc. All rights reserved.步骤4(续)点Make Distributor Keywww.safenet- 2006 SafeNet Inc. All rights reserved.步骤4(

10、续) 制作代理商锁完成提示保存一个lgx格式的文件, 选择路径保存, 点 Program key 提示如下www.safenet- 2006 SafeNet Inc. All rights reserved.步骤4(续) 打开代理商工具www.safenet- 2006 SafeNet Inc. All rights reserved.步骤4(续) 导入lgx文件www.safenet- 2006 SafeNet Inc. All rights reserved.步骤4(续) 代理商用Make Keys即可写锁www.safenet- 2006 SafeNet Inc. All rights

11、reserved.步骤5 远程升级很多时候, 开发商需要进行远程升级, 比如升级软件的试用时间, 试用 次数, 或者修改网络版用户数, 在圣天狗开发套件里提供了非常方便的 安全远程升级工具可以实现此功能. 工具所在目录默认为C:Program FilesSafeNet SentinelSentinel Keys1.0Secure UpdateSecure Update Utility, 执行SecureUpdateUtility.exewww.safenet- 2006 SafeNet Inc. All rights reserved.步骤5(续) 用户点Generate Request Co

12、de生成升级请 求文件, 发回给开发商www.safenet- 2006 SafeNet Inc. All rights reserved.步骤5(续) 开发商工具里提供了Update Manager功能www.safenet- 2006 SafeNet Inc. All rights reserved.步骤5(续)点Add添加升级动作, 开发商根据情况来选择 升级选项www.safenet- 2006 SafeNet Inc. All rights reserved.步骤5(续)然后在Key Activate里导入用户请求文件, 选 择升级动作并生成升级文件.www.safenet- 200

13、6 SafeNet Inc. All rights reserved.步骤5(续)最终用户接受升级文件, 并进行升级.www.safenet- 2006 SafeNet Inc. All rights reserved.步骤6 API浏览在圣天狗工具包里提供了一个功能为API浏览, 开发商可以在里面对设 计好的许可证模板进行测试, 并且针对不同的开发工具, 比如VC, VB, .net, delphi等, 可以看到函数的结构和参数, 给开发商变成提供了便 利.www.safenet- 2006 SafeNet Inc. All rights reserved.步骤6(续) API浏览www.s

14、afenet- 2006 SafeNet Inc. All rights reserved.步骤7 许可证模板的保存为了避免重装系统时许可证模板的丢失, 提醒您在做好加密后保存自 己的模板, 步骤如下 在工具包的菜单栏 点 file - sharing - Export License Templatewww.safenet- 2006 SafeNet Inc. All rights reserved.步骤7(续) 点Exportwww.safenet- 2006 SafeNet Inc. All rights reserved.步骤7(续) 保存文件选择路径, 保存好导出的ltx文件, 如果

15、重装系统或 者重新安装开发包, 只需导入保存的ltx文件即可.www.safenet- 2006 SafeNet Inc. All rights reserved.总结使用圣天狗的简要流程如下 1, 设计许可证, 添加API特征项 2, 构建生成编程所需要的头文件和库 3, 编写安全代码进行API加密 4, 对编译好的exe或dll进行外壳加密 5, 构建并保存许可证模板 6, 使用许可证管理功能制作圣天狗或者代理商狗 7, 发布加密程序和圣天狗www.safenet- 2006 SafeNet Inc. All rights reserved.(附)圣天狗示例程序测试测试 方法圣天狗提供了多种开发语发语 言的示例,每种语语言有5个示例程序,默认认 路径为为C:Program FilesSafeNet SentinelSentinel Keys1.3.1

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 生活休闲 > 社会民生

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号