In my website, the Web.config is as follows:
<system.web>
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add ..../>
</assemblies>
</compilation>
<authentication mode="Forms">
<forms loginUrl="Login.aspx"></forms>
</authentication>
<authorization>
<allow users="admin" />
<deny users="?" />
</authorization>
</system.web>
I’ve tried to design the login page but it seems like whatever I do it doesn’t appear, and after looking for a solution I’e found this:
“i guess i got it. since you are
denying other pages in web config
unless user authenticated. Allow image
folder also in web config file like
you are allowing login page,similarly
allow image folder,css,javascript
folder etc. Image should show up in
page. It should work.”
The problem is I don’t know how to allow these folders, can anyone help?
Refering to location Element (ASP.NET Settings Schema):