title: How to deploy and secure an ASP.NET web app to be available to internal and outside users?
body: <p>My company has several web applications written in ASP.NET.  We need to make these applications available to Intranet users as well as authenticated external users.  Most of the features are the same for the two groups, though there are some extra features available to the Internal users.  The two different sets of users would use a slightly different security setup... our internal people will be authenticated using LDAP against Exchange, whereas the external users will have accounts in SQL Server.</p>
  
  <p>What is the best approach for deploying our web apps?  Should we deploy 2 copies to different servers, one configured for an Intranet and one for outside users?  Or is there a better way to share the code between the 2 servers, yet have the flexibility to use different web.config settings for security?? </p>