本文介绍了签名被识别为良好的宏(并未删除)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我使用Visual Basic常规用于很多事情,主要是连接到Excel,有时连接到Word,很少次连接到Powerpoint。 现在有时候这些必须在不同的国家使用,有时需要花费数天的时间,因为有人害怕绕过我们的卸妆。 有没有人尝试建立一种签名,以清楚地显示一个''好''(由我创建)并将其与一个将被删除的''未知'区分开来。 - 现在(再次)非常害怕特洛伊木马。 想法? - 我想了好几天,实际上我唯一的想法就是有一种特洛伊木马本身绕过卸妆,条件是宏有某个键作为某一行中的注释。I use Visual Basic regulary for many things, mainly connected to Excel, sometimes to Word and very few times to Powerpoint.Now sometimes these must be used in different countries and sometimes changes take days, because somebody is afraid to bypass our remover.Did anybody try to build in kind of a signature to clearly show a ''good'' one (=created by me) and differentiate it from an ''unknown'' one that will be removed. - There is great fear of Trojans right now (again).Ideas? - I think about it for days and in fact the only idea I had would be kind of a Trojan itself to bypass the remover on condition that the Macro has a certain key as a comment in a certain line.推荐答案 有一种正式的数字签名方式宏。我不记得究竟该怎么做,但我打赌你可以在microsoft.com上找到这个程序或通过谷歌搜索。 -bmThere is an official way to "digitally sign" macros. I can''t remember exactly how to do it, but I bet you can find the procedure on microsoft.com or by googling.-bm 好​​,因为它可以打开.bas文件(代码模块)作为文本文件,想要对某一行进行评论并检查包含正确值的那条线并不是那么糟糕。但请记住,无论你采用哪种方式,如果你编写一个绕过自动卸妆的程序,该程序本身就会带来安全风险,因为黑客可以使用它。如果你编写的程序非常安全,以至于这些IT安全人员都会接受它,那么考虑其他解决方案就足够了...... 可能有除了发布数字签名的微软以外的其他公司 - 并且可能有比2001/2002古代版本更新的版本 - 因此可能值得更深入地研究......well, since it''s possible to open .bas files (code modules) as text files, the idea to have a comment on a certain line and check for that line to contain the right value isn''t that bad. but keep in mind that whichever way you do it, if you write a program that will bypass an automated remover, that program will in itself be a security risk, since hackers could use it. and if you write a program that is so secure that these IT security people will accept it, it''ll be enough work for you to consider other solutions...there might be other companies than microsoft that issue digital signatures - and there might be newer versions than the ancient 2001/2002 ones - so it could be worth the effort looking into a bit deeper... 这篇关于签名被识别为良好的宏(并未删除)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-19 01:18