471,350 Members | 1,789 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

How to authenticate calling assembly


I usually build a business object model as a separate assembly so it
can be reused. For security, I require that the consumer of this
assembly (usually a Windows app or ASP.NET web app) provide the
database connection string in a Configure() method. However, I would
prefer that the assembly is "pre-configured", i.e. the connection
string is stored in the business layer assembly.

If I embed a database connection string (or other sensitive info) in
the business layer assembly, is there a way to ensure that only
applications I build can reference and/or consume that assembly?



Jan 9 '06 #1
0 780

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Maziar Aflatoun | last post: by
3 posts views Thread by RC | last post: by
7 posts views Thread by =?Utf-8?B?UVNJRGV2ZWxvcGVy?= | last post: by
8 posts views Thread by Derek Hart | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.