I have a simple C# object(class) that I reference in a <OBJECT clsid="...> tag of an HTML page. I've putted this object into the GAC with gacutil and registered it as COM object with the regasm utility program. The <object> references the clsid in the registry.
Is there an easy way of bypassing the Activex warning in Internet Explorer whithout modifying the security level in the browser?
In an old COM-ATL object, I was using the IObjectSafetyImpl<CMyCtrl, INTERFACESAFE_FOR_UNTRUSTED_CALLER|INTERFACESAFE_FOR_UNTRUSTED_DATA> derivation to avoid this type of message. Is there a way of doing the same thing in C#?
My component will be used in an intranet solution only whithout needs to be visible in the client application.
Is that the better way I use to make a component in Dot Net for referencing in the browser? What are the other solutions?