By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,264 Members | 1,237 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,264 IT Pros & Developers. It's quick & easy.

unique inheritance !!

P: n/a
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.
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Use StrongNameIdentityPermission to achieve versioning and naming
protection by confirming that the calling code is in a particular
strong-named code assembly."

-mike
MVP

"james" <ja*******@yahoo.com> wrote in message
news:35**************************@posting.google.c om...
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.

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.