China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-07 02:51
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Help] How to use a script to digitally sign a file? View 670 Replies 2
Original Poster Posted 2008-01-03 09:51 ·  中国 广东 佛山 南海区 电信
初级用户
Credits 20
Posts 7
Joined 2007-12-18 11:09
18-year member
UID 106023
Gender Male
Status Offline
How do I use the "SignFile" method of the “Scripting.Signer” object to digitally sign a file.
Floor 2 Posted 2008-01-03 17:05 ·  中国 四川 成都 教育网
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
Scriptin.signer can verify script signatures. Actually, before it could also verify the signatures of dll, exe, and ocx, but now it can't anymore.

Check the manual yourself

CAPI has a COM object too, and it can also encrypt files

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>"
Floor 3 Posted 2008-01-04 10:12 ·  中国 广东 佛山 南海区 电信
初级用户
Credits 20
Posts 7
Joined 2007-12-18 11:09
18-year member
UID 106023
Gender Male
Status Offline
I tried some scripts from the web, but none of them worked. It said there was no private key. What I want is to digitally sign a local webpage file, so that IE won't block the scripts in the webpage. Right now I have to allow the blocked content first before I can use it, which is very troublesome.
Forum Jump: