I have a default page i want everyone to visit but when users wants to visit this page Default.aspx/AdminLanding.html if the user not login redirect to login.aspx.
I already redirects users who visits Defaut.aspx to login page if not logged in, but this time I want to make Default page free to visit but if users visit this page default.aspx/admin and they are not logged in redirect to login page.
my Default page is empty is only html, the redirecting condition comes from config file
<authentication mode="Forms">
<forms defaultUrl="~/Default.aspx" loginUrl="~/Account/Login.aspx" slidingExpiration="true" timeout="2880" />
</authentication>
The Default page is in the root directory so my question is do i put the default page in a saparat folder?