G
Guest
I was wondering if there any security mechanisms in the framework which
enables me to identify the appdomain which my dll is being loaded into? For
ex. if I want to make sure that the appdomain was created by a program from
our company.
One approach is probably to use AOP and intersept all message calls,
checking some pre condition, but this sounds like a lot of overhead. Are
there any ways enable/disable AOP at runtime. For example veryfing the user
at the first method call and then removing all method interceptions?
enables me to identify the appdomain which my dll is being loaded into? For
ex. if I want to make sure that the appdomain was created by a program from
our company.
One approach is probably to use AOP and intersept all message calls,
checking some pre condition, but this sounds like a lot of overhead. Are
there any ways enable/disable AOP at runtime. For example veryfing the user
at the first method call and then removing all method interceptions?