Rami_kel on Fri, 24 Aug 2012 12:18:41
Hi, i'm using ACS in my WebApi project
when i try to open any page , i'm redirected to the authetication page (liveId, yahoo or gmail)
i want to disable the authentication for some pages or controllers
Neil Mackenzie on Fri, 24 Aug 2012 23:59:40
<location path="SecretPage.aspx"> <system.web> <authorization> <allow roles="Manager"/> <deny users="*"/> </authorization> </system.web> </location>
Carlos Sardo on Sat, 25 Aug 2012 11:34:15
For MVC you also have the AuthorizeAttribute Class. Therefore, you could decorate your Controller or Actions with:
[Authorize(Roles="*")] [Authorize(Users = "*")]
Hope this helps!
Rami_kel on Mon, 22 Oct 2012 09:58:27
is it possible to remove this method of authentication?
i want to use my private login page , how to disable ACS??