Restrict Access to Data Block

Topics: Data Access Application Block
Jul 3, 2007 at 9:22 PM

Is there support for, or a recommendation on how to restrict access to the data block? We'd like to prevent just any piece of code from executing CreateDatabase(). Our current connection factory restricts it based on the calling assembly. I can probably plug that in, but would like to hear about other approaches.

Thank you.