I've set up permissions using .Net Forms Authentication which works perfectly for Umbraco Members:
<!-- Public access permissions -->
<location path="scripts"><system.web><authorization><allow users="?"/></authorization></system.web></location>
<location path="images"><system.web><authorization><allow users="?"/></authorization></system.web></location>
<location path="css"><system.web><authorization><allow users="?"/></authorization></system.web></location>
<location path="umbraco"><system.web><authorization><allow users="?"/></authorization></system.web></location>
<system.web>
<authentication mode="Forms">
<forms name="yourAuthCookie" loginUrl="login.aspx" protection="All" path="/" />
</authentication>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
So members will not be able to access the site unless they authenticate themselves, except for scripts and styles so the login page can be seen properly.
The problem comes when I try to validate users (which in Umbraco means the users using the CMS, not the ones just visiting the site). I have tried to let the umbraco/ folder open and the umbraco/login.aspx etc. but it doesn't display the cms properly.
All this seems to be due to not being authenticated, as if I log in as a member, and then I log in as a User, it will display everything perfectly. Instead, if I only log in as a User, most of the things are not seen at all.
What am I doing wrong?
Thanks.