I'm building a tiny web application with a simple user autentication scheme. I register the users in web.config, like this:
<authentication mode="Forms">
<forms loginUrl="~/login.aspx" defaultUrl="default.aspx" ...>
<credentials passwordFormat="SHA1">
<user name="UserA" password="B60D121B438A380C343D5EC3C2037564B82FFEF3"/>
<user name="UserB" password="B60D121B438A380C343D5EC3C2037564B82FFEF3"/>
</credentials>
</forms>
</authentication>
It's working pretty good, and I like to not having to rely on a database for this in this particular application. However, I'm surprised to find that you apparently can't configure Roles in web.config in the same manor - or am I missing something really obvious here??
Do I really have to implement a custom Role-management provider to be able to configure my roles in web.config? If yes, do you happen to know of any available implementations?