HttpContext.Current.Profile null when used as a ProfileService and not...
I posted a question to stackoverflow but I would like to also post here just so it does not get missed. I will update both if an answer is...
View Articleonly english characters for username in CreateUserWizard Control
HiI want to alow only english characters for username in my CreateUserWizard Controlhow could I do that?
View ArticleProblem with ASp.Net Membership Provider
Hi,How to enable1: User should able to reset his password by clicking on Forgot password option2: Admin also should have rights to change/reset user password.How to achive both.In my...
View ArticleBCrypt library seems not to work for different computer
Let's say I have exactly the same project file.I generate a hash password, usingstring hashedpwd=BCrypt.Net.Bcrypt.HashPassword(password);//store hashedpwd in DBbool...
View ArticleMore issues with Identity Provider
In the old membership service you could have multiple apps use the same table there was a Application ID. Now I see a Discriminator in the new AspNetUsers table which is Nice but there is nothing in...
View ArticleWindows Authentication with Visual Studio 2013 WCF Service
Hi all,I need to use Windows Authentication for my WCF Services. I found this article, but my Web.config is completely...
View Articlemoved site from IIS6 to IIS 8.5. Windows Auth now pops authentication box..
Haven't been able to find the answer for this one anywhere yet...I have recently been migrating all of our sites to a new Windows 2012 R2 w/ IIS 8.5 server.Any site that used Windows authentication...
View ArticleLoginStatus and LoginName doesnt update after validation
Hi i have this problem i used Login, setuped MembershipProvider and in that i have this simple logic:public override bool ValidateUser(string username, string password) { if(username == "jirka"...
View ArticleAbout the new way to handle security that is asp.net Identity
When I used the old way to configure security for users and roles I could in design start the Web Site Administrator Tool(WAT) and create user and roles and associate a user to a role without using any...
View ArticleUser ID should work in single IP only
Hi Friends,We are developing Dot Net applications.login user id should work in only one IP only even it is static IP or dynamic IP.
View Articleusing antixss library with eval repeater
hi all,is using Microsoft.Security.Application library with htmlencode eval in repeater protects application against vulnerability. i am using asp.net 3.5, or do i need to attack some more...
View Article| Membership provider| How to Autheticate a user in Active Directory Using...
Hi,Can someone help me about how to Autheticate a Windows user in Active Directory Using Membership provider.
View ArticleUser login and "remember me" option by using custom authentication form
Hello,I have been looking which steps should I follow to perform this task but I have not been able to find a clear sample. Every sample I have read is different, besides the code behind, some includes...
View ArticleCREATE DATABASE permission denied in database 'master' && MemberShipProvider
Hello, I am using the Universal ASP.NET Membership provider; The user data and my own data are stored in the same database sharing the same connection string. its works perfectly on my local...
View Article"Query string too long" error when Windows authentication enabled
My ASP.NET Web Forms web application works fine within Visual Studio 2013 Express Update 1 when Forms authentication is enabled. When I try to enable Windows Authentication, I get the following...
View ArticleHow to get full name ie first name and last name of user using Windows...
Hi, currently I am able to get the username ie DOMAIN\USERNAME using the following:@User.Identity.Name@WebSecurity.CurrentUserName@Request.ServerVariables["AUTH_USER"]How can I get the FULL NAME of the...
View ArticleActive Directory User Office Location problem
Hello All,My app’s first page has a combo box that contains a list of office locations (cboOfficeLocations – Teksys-CA, Teksys-NJ, Teksys-NY etc.) and a Lable lblUserOfficeLocation.textAfter the user...
View ArticleMVC Application Security fails when using .NET 4.5 framework
Background: We have a MVC Application which was running smoothly on .NET 4.0 Framework. The security for this application works with respect to getting authenticated and authorized via Active...
View ArticleIntranet Windows Authentication returns nothing.
I have..<authentication mode="Windows" />...in my web config, and when I try to display the username on the form I get nothing. I guarantee that no one, least of all me is on the corporate...
View ArticleHTML encoded text being read by multiple systems
We have multiple systems interacting with each other. There is a public facing website where customers enter text. There is a webservice that enters the text into a CRM database. As a good practice the...
View Article