URL Authorization examples.

InfoPath alternatives for form designing SharePoint

Here we will discuss about some typical URL authorization examples.

You can also read Forms Authentication in Asp.Ne [Read here], WCF tutorial and example in C#.Net [Read here] and What is Performance Testing? [Read here].

The below list shows the syntax for some typical URL authorization examples:

Deny access to the anonymous account

<deny users=”?” />

Deny access to all users

<deny users=”*”/>

Deny access to Manager role

<deny roles=”Manager”/>

Forms authentication example
<configuration>
<system.web>
<authentication mode=”Forms”>
<forms name=”.ASPXUSERDEMO” loginUrl=”login.aspx” protection=”All” timeout=”60″ />
</authentication>
<authorization>
<deny users=”aspdotnethelp24@gmail.com” />
<deny users=”?” />
</authorization>
</system.web>
</configuration>

Similar SharePoint 2013 Tutorials


About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →

Leave a Reply