unique inheritance !!

  • Thread starter Thread starter james
  • Start date Start date
J

james

I am working on .NET application. I have created a DPAPI library to
decrypt the strings, which is running as an independant serviced
component.
Now i have another generalised component which call the above library
and use the decryption method to get the actual connection string.
This component will further return a connection back to application
whenever included in an application.

The above architecture works fine. Now i would like to protect my
DPAPI serviced class from external call other than my generalised
component.

Pls help me to find a solution to protect my serviced component so
that DPAPI serviced component can be inherited only by my generalised
class.

NOte: i have written seperatly the generalised component because
serviced component run in a different application domain which will
not allow me to pass the database connection back to application as
byref. i have to use remoting which i want to avoid.
 
"Use StrongNameIdentityPermission to achieve versioning and naming
protection by confirming that the calling code is in a particular
strong-named code assembly."

-mike
MVP
 
Back
Top