title: How to disallow users from accessing the application database when offering VM Image on Azure Marketplace?
body: <p>I would like to publish an image of a generalized VM on the Azure Marketplace. The VM for which the image is to be created includes an ASP.NET MVC Application which connects to a local SQL Server.</p>
  
  <p>I would like to disallow access to my application's database to the users who create VMs from the offered image, so that they would not be able to see the stored procedures inside the database. </p>
  
  <p>I was considering to disable Windows Authentication to the SQL server and adding a superadmin user who could access the server. However, in this case I would need to place the username and password of the superadmin user inside my web.config file thus making it visible to all users.</p>
  
  <p>Are there any other possible solutions for restricting access to an application's database or more specifically the stored procedures in the database, when offering the application on a VM image?</p>