security.authorizationruleprovider - rules with spaces in them

Topics: Web Client Software Factory, User Forum
Apr 17, 2007 at 1:39 AM
Is there any way to use domain groups that contain spaces in the security rules defined in the web config. If the rule contains a space it throws an error.

<securityConfiguration defaultAuthorizationInstance="RuleProvider" defaultSecurityCacheInstance="">
<authorizationProviders>
<add type="Microsoft.Practices.EnterpriseLibrary.Security.AuthorizationRuleProvider, Microsoft.Practices.EnterpriseLibrary.Security, Version=2.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" name="RuleProvider">
<rules>
<add expression="R:halamerica\Domain Users" name="AllowAccessAdminPages"/>
</rules>
</add>
</authorizationProviders>
</securityConfiguration>

I have already tried -  
Mar 13, 2013 at 1:29 PM
Edited Mar 13, 2013 at 1:30 PM
For future fellow googlers the answer is to use the XML entity for quot
&quot;
<add expression="R:&quot;halamerica\Domain Users&quot;" name="AllowAccessAdminPages"/>