Can strong naming an assembly be used to verify the assembly author?

前端 未结 5 1260
伪装坚强ぢ
伪装坚强ぢ 2020-12-01 00:45

I have been reading the proper article in MSDN, Strong-Named Assemblies and a related Stack Overflow question, Checking an assembly for a strong name.

5条回答
  •  栀梦
    栀梦 (楼主)
    2020-12-01 00:51

    I believe there is a way to use strong name for the purpose of "Trust". I understand Microsoft only recommends strong name to ensure assembly contents have not been modified and suggests using "Authenticode" for trust.

    But if the loader application (the application which loads these assemblies/programs) maintains an Encrypted list of "Assemblies" which it can load; wouldn't that solve the "Trust" problem?

    For example, the package loader can maintain assembly name with public keys and loads the assembly/program via full assembly name?

提交回复
热议问题