Help! Cookie issue with Owin
Hi guys,I'm new to Owin, and I am focus on a third-party login with it currently. Below code, app.UseCookieAuthentication(new CookieAuthenticationOptions { AuthenticationType =...
View ArticleHow New Identity system is different than form authentication system
any one can tell me here briefly what is new asp.net Identity system and how it is different than form authentication and membership system.thanks
View ArticleFormauthentication timeout in MVC 5????
Hi,I am setting timeout for form authentication like below after checking with database on login.FormsAuthenticationTicket authenticationticket = new FormsAuthenticationTicket(1, model.UId,...
View ArticleSimpleMembership vs ASP.NET Membership
Hello Guys i am planning to start a new CMS project using .NET 4.5 ASP.NET webforms would guys recommend to SimpleMembership for the user management and why ?Thanks,Shabbir
View ArticleSomeone could Teach me to Configure or Use the Membership-Membership Providers?!
Hello Guy'sI'm new in Asp.Net and i would like to use the membership providers for my LogIn Page,But i don't know how to use it, could some one get me a quick explain?Or something like it?
View Articleforms authentication / login redirection
Hi thereWith my application I have the following folder setup:What I need is for a user to be redirected to the page they only have access to, for example an 'admin' has the lowest form of access so is...
View ArticleIntegrated windows authentication always prompting for credentials
I have seen many posts about this issue, but not with a final answers. I have tried everything that the previous posts have suggested but with out success. I have IIS setup for integrated security with...
View ArticleAddLoginAsync Seems to be Failing
I am using External Providers in my ASP.NET MVC 5 website. I have used the provided MS AccountController and ManageController to implement this -- and all has seemed to be working until today. Suddenly...
View ArticleHow secure is my MVC5 application.
Hell All,I have created an MVC 5 tutorial. I just followed the steps in this tutorial...
View ArticleIntranet web app prompts for windows credentials and denies access unless...
I have an intranet ASP.NET web app that uses windows authentication. It's installed at dozens of different companies and normally the authentication works fine: users navigate to the site e.g....
View ArticleCannot access */ext.axd resources, how to set permission for .axd resources?
Problems:Cannot access */ext.axd resources, it always redirect to login page with http code 302.My Environment:Window Server 2008 R2 IIS 7.5 NET Framework 4.0 WebForms My IIS Configuration:Only enabled...
View ArticleIs it worth changing from Membership to Identity?
Hi,I have a website (not yet published) with fully functioning asp.net membership. Registration, log in, authentication, roles etc. So my question is; Should I spend time to change it to using Identity...
View ArticleData security issue
I have a page on which I used gridview to show 4 columns and in one column i made a hyperlink which links to the other page which is written in simple html code.Although I have created an option of...
View Articlehow to link a user account to your custom model class
hello frnds,having been working on a little project of mine as a new learner of the asp.net mvcc framework.. am having a little difficult. so here my scenario..I am creating an online Admission System...
View ArticleUnable to remove user external login
I've trying the MVC 5.2 template with individual account. Everything works except when I trying to remove the user's login that I get the following error message:The operation failed: The relationship...
View ArticleASP.Net Identity - Logging out after session expiration
I have a question that I have not been able to find an answer to. I'll do my best to explain. It is easily reproduced with an empty MVC 5 project using ASP.Net Identity for user authentication.If I...
View ArticleHow to check if a user is logged in via a webservice
Using the webforms template from Visual Studio 2013I have this working and can log in a user. My need is this, I have another system that will be integrated into this website that I'm building. With...
View ArticleAsp.net Best Practices entire Login System with LoginView
Hi Folks,This is about security and membership and how I am maintaining this:1. Have a LoginPage at the root of the website with following code: and then use this code behind to Authenticate and...
View ArticleVerify against LDAPS in C#
public static bool VerifyLDAPS(string Login, string Password, out bool serverdown, out string exmsg) { serverdown = false; exmsg = ""; string strLogin = "uid=" + Login + ",ou=users,ou=xxxx"; using...
View ArticleAuthorization tokens expiring early
Hello everyone. I have implemented security for my web api (individual accounts) as discussed here.I have hosted the website on godaddy (shared hosting) and its working fine. When I ask for token by...
View Article