Securing ActiveX control C# -
04-04-2007
, 03:32 AM
Hi,
I would like to secure an Active X Control that is supposed to run
within Media Center. I heard that it is possible to restrict the
control to run only within a certain domain and found some C++ Code
that could grab the currently diplayed URL in Internet Explorer and
match it against a list of "approved" domains for the control.
Would something like this be possible for Media Center and C#? I was
thinking along the lines of checking for a file or folder location,
since the control should be started from the \windows\ehome
directory.
The reason why I would like to implement this, is simply that no one
should be able to call the Active X control from another website
(repurposing). If anyone has any ideas or links or sample code, it
would be very much appreciated.
Thanks,
Steve |