I am creating a .NET Class library project that accesses mshtml.HTMLDocument when called (from JavaScript). Everything works fine on my machine since I changed permissions in the .NET Configuration for trusted sites to have full access.
But for end users, I would like Internet Explorer to request them, such as Windows Update.
I placed the assembly with a strong name and with an autosigned certificate, and I approve the unmanaged SecurityPermission code, but there is still no yellow bar asking the user.
Does anyone know how to call this sentence? Thanks
Then edit: a few more details: I am implementing the component as <object classid="dllname.dll#namespace.classname" ><object> , and it works, but does not have security permissions.
If I insert it as <object classid="clsid:..guid.." codebase="dllname.dll#-1,-1,-1,-1"></object> , permission to install a pop-up window appears, but the object cannot create an instance.
Update: I made my class COM-compatible, implemented Safe-for-scripting, I made MSI from it and put it in a .CAB file. It installs if the user has my certificate in Trusted Roots and it works.
However, it does not work if it is not trusted (there is no question for the user, just ".. blocked the following active files from ..". Does this really mean that I have to put my money in an SSL certificate?!?
source share