link to our site (under login) from WORD doc causes you to go to login page...
a link inside a WORD doc .docx to our site of a page that is under login sends the user to the login page even thou they are already logged in. how to fix without telling users to add a DWORD to their...
View ArticleError: Could not load type...
I got an issue trying to set up Asp.Net Identity 2.1 with MVC5 and have installed the entity Framework 6.1.2 libraries. But when I run the application and try and get this to for example register a...
View ArticleKeep user logged in - two webservers
I will be using Membership API for authentication and new registrations (forms authentication with custom login and register forms). This is my first time using this technique on an ASP.NET MVC 5...
View ArticleUsing Forms Authentication with rememebr me
Hi,I am little confused and all the examples i have seen so far are handling remember me and not remember me differently. I have the following code, how can i consolidate the two together?if...
View Articleuser can't login after external login through OAuth2
I'm useing asp.net 4.5.1 . I have migrated from Membership to ASP.NET Identity 2.0 . I want the external user can be login my website throuht OAuth2 . And it can really work. Bute I meet a problem:...
View Articleif user role is Customer, i want admin linkbutton visible = false, but it...
Using session for login, after redirect, the masterpage code doesn't work out. if user role is Customer, i want admin linkbutton visible = false, but it still show upthis my login codeusing System;...
View ArticleAsp.net Website administration tool
Hi Friends,Is it recommendable to use Website administration tool roles in web application other then URL access . for example I want to create Job roles assign to users and based on these role...
View ArticleFacial recognition
In one project my customer wants to forget the authentication thru email and password and wants to use facial recognition. Anybody having experienced that ?
View Articleproblem of configuring authorization
hello community,I have a problem concerning the management of authorization to the pages of a web application that I develop in asp.net with sql server 2008 r2 external database. I have configured my...
View ArticleCross domain authentication in asp.net Identity - Will it meet this scenario?
Lets say a company FooBar Theatres Inc. owns a number of theatres, each with their own web site, and each site has their own bookings system, which is a actually a re-skinning of the exact same...
View ArticleXSS scripting for Search textbox
I have a textbox which is used for searching the data within the site. What my client wants that, 1)Enter any text in the search field and click the search symbol. 2)The request going to the server...
View ArticleHow To Use Bcrypt To Verify Password
// Below is my code string mypas = "MyPass"; string mysalt = BCrypt.Net.BCrypt.GenerateSalt(); string myharsh = BCrypt.Net.BCrypt.HashPassword(mypas, mysalt); // and i save to the database... then to...
View ArticleHow to authenticate UserManager against Active directory users
I am working on a new asp.net mvc5 web application that uses the new ASPNET.Identity instead of the old form authentication. For my previous asp.net mvc4 web applications, I did the following to have a...
View ArticleOAuth Bearer Token Cookie Name
For ASP.Net sites, the ApplicationOAuthProvider uses context.Request.Context.Authentication.SignIn(cookiesIdentity);out-of-the-box to append a cookie in the response. By default the cookie name is...
View ArticleRedirect to login live for user authentication.
I want to authentication using windows authentication in my site so I want to redirect to login live page and once user is authenticated then it should again redirect to my home page.
View ArticleBeing redirected to old Login.aspx page
I have IIS7 with only one website, the default one. I used to have the Default.aspx and the Login.aspx page in wwwroot and they worked wonderful. I use .NET Framework 4.After a re-organization of my...
View ArticleHow do I deny access from a user whose subscription has expired?
I have a page Which only subscribe users can access, but my challenge is, when a user subscription expires how do I deny access from that user?, so the user can be forced to renew subscription. I want...
View ArticleHow to check if user is member of an AD group
Why does this work (returns the correct t/f):bool IsAdmin = HttpContext.Current.User.IsInRole("MyAdminGroup");but this does not:bool IsAdmin = false; if...
View ArticleCustom login with Custom Authentication in MVC 5?
In MVC 5, there is Identity 2.0 to handle user and login and signout .But if i want to implement my custom login and authentication and store user detail for the current session.How to implement?...
View ArticleNeed help with LoggedIn Event from Login control
Hey guys. Need a little help. I'm doing some self-study and began reading up and experimenting with the Login control. The task is simple...I'm trying to write to a table when a user logs in. So on...
View Article