Is the following valid? Are roles / usernames allowed for spaces?
<location path="MyPage.aspx"> <system.web> <authorization> <allow role="Good User" /> </authorization> </system.web> </location>
Yes this: -)
Actually, it depends on MembershipProvider / RoleProvider. But all standard ones (SQL, Windows, AD) allow spaces.
Use allow roles multiple times if there are spaces in your groups:
<system.web> <authorization> <allow roles="User Group 1"/> <allow roles="User Group 2"/> <deny users="*"/> </authorization> </system.web>