问题描述
您好b $ b
我正在InstallShield中编写安装程序,在安装过程中,一些SQL脚本文件(* .sql)和一个exe文件被解压缩到用户的临时位置硬盘。 exe文件必须读取这些SQL脚本文件才能在安装期间设置数据库。我想确保用户无法抓取这些临时SQL脚本文件,并在exe文件使用这些SQL脚本文件之前修改它们。我可以在InstallShield打包之前加密这些SQL脚本文件,然后让exe文件读取加密文件并在内存中解密它们然后使用SQL脚本内容,但在这种情况下最佳做法是什么?
Hi
I'm writing an installation in InstallShield and during the installation some SQL script files (*.sql) and an exe file are unpacked to a temporary location on the users harddisk. The exe file has to read these SQL script files to setup a database during the installation. I want to make sure that the user cannot grap these temporary SQL script files and modify them before the exe file uses these SQL script files. I could encrypt these SQL script files before InstallShield packs them, then let the exe file read the encrypted files and decrypt them in memory and then use the SQL script content, but what is best practice in this case?
推荐答案
这篇关于如何保护用户在安装过程中不修改文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!