get full trust RRS feed

  • Question

  • I want to run a client-side component that will run inside IE. I read that I can instantiate my component using html <object/> tag and script it from jscript/vbscript code (similarly to any COM object). The problem is that this component should have access to user's serial port (COM) - this needs Full Trust permissions. Is there any way to to obtain such permissions (probaby after asking user)?
    I can think of a workaround: write a COM component (that is marked safe for scripting) that will use caspol.exe (or equivalent API) to give full trust to all assemblies signed by specific key. In theory it should work, but it is still a workaround. Is there any straightforward solution to this problem?
    Wednesday, February 25, 2009 4:48 PM