I'm writing a web app that will be distributed and I want to allow the installer to choose between using Integrated Authentication, or FBA. Switching between those with web.config is obviously very easy. I'm trying to decide how best to architect the database and code to accept either a windows-sid or a UserID from the aspnetdb.
For example WSS 3.0 allows both windows integrated authentication, or FBA using any membership provider. How do they handle that in their database architecture? Are there any good guides on the web to provide some guidance?