Problem while using Forms Authentication and Integrated windows...
Hello All,I am using Visual Studio 2010 to develop an ASP.NET application and need to support Forms authentication and Windows authentication together(I mean user have an option to select any of them)....
View ArticleStop users navigating directly to a resource via IIS
Not 100% sure if this is the correct forum but I have the following question. If I am storing uploaded videos in a folder how do I secure the videos. I need to do two things. Firstly users should only...
View Articletoken based authentication in web service
As I know authentication can be achieved by SOAP header by passing the user name and encrypted password. One of my client is interested the token based authentication. As I explained him, token is...
View ArticleWindows and Forms Authentication on same MVC site
HiDoes anyone have a real/complete answer to this problem?? It seems lots of people say it's possible, but I have still to find a posting which shows all the details needed to make it work....I would...
View Articlehow to check which membership provider I'm using
HiI have a MVC 4 application that I have taken and enhanced, But lately I've become unsure whether the membership provider for this is the one that comes with MVC 4 default internet application. So I...
View ArticleMembership Provider evolution
HiI would like to get reference to a page/url that shows the evolution in ASP.NET Membership Providers. By this I means which comes first, default, simple, universal are there others. etc.Thanks.
View ArticleCustom Identity Types or Claims?
I'm getting started with ASP.NET MVC5 and the new Identity features (IdentityUser, UserStores, ect..) I have a web application that will serve information to different types of users. Some user types...
View ArticleTurning off encryption
I have F5/Big-IP to do SSL-offloading between two Web Services (one being WCF). I would like to turn off encryption completely (both transport level and message level). How do I accomplish in...
View ArticleHTTPS for single page (using Global.asax Application_BeginRequest method)
Hi,I want HTTPS for only login.aspx , and for all other pages normal http.void Application_BeginRequest(object sender, EventArgs e) { var absolutepath = Request.Url.AbsolutePath; var ext =...
View ArticleWindows authentication and Anonymous authentication - Solution
Hello,I'm looking for a way to automatically capture the username for intranet users, while still redirecting other users (non-domain users) to a custom logon screen for username and password.I found...
View Article403 - The website declined to show this webpage
Hi, I've been for 2 day, looking (in the worng places....) and found no solution or something that would help me to solve this problem.This is the scenario: IIS 6 + ASP.NET 2.0 WebSite, Default Web...
View ArticleGet error 'Cannot open database 'db' requested by the login ' with Windows...
I have a intranet app and I'm using windows authentication. If I set impersonation to true, my users can read/write to db but if I have impersonation = false ( which is what I want so I can see who...
View ArticleASP.NET Identity 2.x - Issue with google authentication
I am having an issue with the Google OAuth middleware.Context: VS2013 Update 2, created brand new ASP.NET Web Project using MVC with Individual accounts.This brought in the following versions of the...
View ArticleHow to retrieve data from the table for specific user
Hi,I have created a quote form on which login member has to fill the form and send to me which is working fine.I wanted to know, how to show that specific result to the user who has submit the form in...
View ArticleSystem.Threading.Thread.CurrentPrincipal hit Object reference is not set...
HiAll the while,I am using System.Threading.Thread.CurrentPrincipal to retrieve user name and domain to automate some security activity. I am using this in my generic library which might be used in Web...
View ArticleAuthorization Error with deny users
I allow users in with Authentication "Forms" but want to authorize users to see files in the apps folder.Working code:<Authentication mode="Forms"><forms loginUrl="gateway/Default.aspx...
View ArticleWindows authentication logout
Hi guys,I'm struggeling with I think is a simple problem. I have a SPA running on Durandal but authentication must be based on Windows Domain. The main problem is that windows which is running my page...
View ArticleHow to know site users are accessing
Hi,How can i view who everr accessing my site.Ex: htttp://www.test.comThey are entered and logined with some invalid user name and password.Can i know from where he is accessing our site(Country)...
View ArticleFacebook Authentication
Hi,I am working on recharge website. Here new user can login with facebook and use the website. I need,1. After successful login how to redirect to my site. means, i want to show the my website home...
View ArticleForm Authendication with AD Groups
HiI have configured my web.config to use form mode authendication, but with a AD provider. It working great, people can log in with there AD account.But now i have to built some more secure, because...
View Article