文档介绍:第 27卷第 1期计算机应用与软件 Vol
2010年 puterApplicationsandSoftware
PDF文件菜单控制技术研究
张敏袁丁
(四川师范大学计算机科学学院四川成都 610068)
摘要目前许多信息安全产品需要根据用户权限控制其对相应文档的打印、修改、保存等子菜单操作。针对目前广泛使用的
PDF文件,提出利用 DDE(DynamicDataExchange)和 Plugin联合控制用户操作 PDF文件的技术。同时提出将 DDE程序生成 DLL
文件并引入用户权限的方法,再使用 DLL钩挂技术,就可达到根据用户权限动态控制其对当前文件操作的目的。实践证明,这种方
法可以很好地控制用户对 PDF文件的相关操作。
关键词动态数据交换插件动态控制 PDF文档
ONCONTROLTECHNOLOGYFORMENUOFPDFDOCUMENT
ZhangMin YuanDing
(puterScience,SichuanNormalUniversity,Chengdu610068,Sichuan,China)
Abstract Currently,manyinformationsecurityproductsneedtocontroltheoperationsofcorrespondingdocumentonitssubmenu,suchas
print,modification,savingandsoon,basedonuser’,thispaperproposedatechnology
binesDDE(dynamicdataexchange)andPlugintechnologytocontroluser’,the
methodofusingDDEprogramtomakeDLLfileandthenintroduceittouser’
DLLhooktechnology,thepurposeofcontrollingtheoperationonPDFdocumentdynamicallybasedonuser’
hasbeendemonstratedbypracticethatthistechnologycanwellcontroluser’srelatedoperationonPDF.
Keywords Dynamicdataexchange Plugin Dynamicallycontrol PDFdocument
一种常见协议。Windows系统总共定义了三种通信方式供应用
0 引言程序使用,除功能最强的 DDE外,还有剪贴版和动态连接库。
DDE正是建立在 Windows内部消息系统、全局原子和共享全局
目前信息安全产品的研发和研制对企业甚至国家而言都是内存基础上的一种协议,用它来协调 Windows应用程