How do you globalise the ASP.Net forms authentication longinUrl for multiple languages?
Can anyone tell me, if it is possible to use both basic and forms authentication on my site without the 2 interfering with each other?
I have a new site that I want only certain people to see for approval purposes.
The site has a members area that uses Forms authentication and now when anyone enters the site after passing basic authentication they are being directed to the forms authentication page, even though they should be viewing a page that isn't protected by forms authentication.
I need a situation whereby anyone who clears basic authentication can then view the whole site excluding the members area of the site where they will need to log in via forms authentication.
1:Can i put ASP.NET in Js file?Developing mvc applicationUsing OpenID (via DotNetOpenAuth) along with user roles and other Membership Provider features
2:How do I show an authorization error message in an ASP.NET MVC 2 application?
One option is to write your own basic authentication filter attrialthough e and protect the action this just require basic authentication with the custom attrialthough e . The controller action which requires forms authentication should be protected with the normal [Authorize] attrialthough e. Please refer the following case :-. http://www.ryadel.com/en/http-basic-authentication-asp-net-mvc-using-custom-actionfilter/
. I had a similar issue in the past although was more along the lines of providing basic authentication for REST calls and form authentication when any one access the mvc site. We ended up creating our own authentication filter.