Quantcast
Channel: Security
Browsing all 4737 articles
Browse latest View live

LoginStatus - implicit Logout

HiWhile looking into Anti-XSRF on Web Forms v4.5.1 - Site.Master I found the following template code:<asp:LoginStatus runat="server" LogoutAction="Redirect" LogoutText="Log off" LogoutPageUrl="~/"...

View Article


Asp.net identity

I would like to implement the new adp.net identity with an existing web forms web site. The site was built with vs 2012and I would like to keep it this way. I see most tutorials are with Mvc and 2013...

View Article


Update ASPNETDB schema for ASP.NET Identity

Is there a tool to update the ASPNETDB schema to work with the current version of ASP.NET Identity?I have used the "Schema Comparison" tool to generate an update script, but is that really what I...

View Article

MVC 5 Don't Create AspNetUsers Table when Specifying Different IdentityUser...

I changed the default Entity<IdentityUser>( ) table to myUserTable instead of AspNetUsers table using the following: protected override void OnModelCreating(DbModelBuilder modelBuilder) {...

View Article

External Log In with Google Redirecting to 401 invalid_client Error Page

I went through this tutorial http://www.asp.net/mvc/tutorials/mvc-5/create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on to enable external log in. When I go to Log In using...

View Article


Image may be NSFW.
Clik here to view.

simulate domain login

Hi all,My requirements is this: A and B sites is indenpendents, and the B site is use the windows authentication(domain account) the A site is use common user and password to login.When user login to...

View Article

AuthenticationManager vs. SignInManager and cookie expiration

What is the difference between using AuthenticationManager SignIn as opposed to using SignInManager PasswordSignIn/SignIn?  I have an implementation using the SignInManager and have my cookie...

View Article

Logout an external login

HiAsp.net, MVC 5, C#I am using external social logins like facebook, google etc to login to my application which currently works fine. But when I click on log off the app doesnt actually logs off from...

View Article


OAuth2 External Authentification

My webite (application) used  Asp.net Identity 2 beta  store user accounts.  I'm using VS2013  and Framework 4.5.1.   I want to let other website's users  can login my application  so my webiste's user...

View Article


Forum for ASP.NET Identity

I'm wondering where I can find a forum for questions regarding ASP.NET Identity?Scott W.

View Article

WAAD (WS-Federation) and OWIN OAuth in same website

<div class="post-text" itemprop="text">I using Windows Azure Active Directory log in (WS-Federation) in my web site (MVC 5). Also I am trying to integrate OAuth login for Facebook, Linkedin,...

View Article

MVC 5 and roles

Hi all. I'm developing a MVC 5 application and I need roles. I found this tutorial to implement this...

View Article

Simple Alternatives To Login & Password

Hey All,Just about to start a new project for work. Green light has been given on an extranet for our stores.I am looking to secure the sites based on location without the use of logins and passwords....

View Article


Trouble with HTTP cookie

Hi, the code below work fine when in a .net 1.1 app pool, but as soon as I put it in a .net2 app pool it fails to redirect to the default home page even though the user is authenticatedpublic static...

View Article

The role '' is not found - error message

 Everything in the function below works as I would expect until  line 14 where it says they role "" was not found, even though debugger clearly shows that therole paramater is set to "admin" on the...

View Article


MVC + Identity 2.0 Password Hash Question

I didn't see an ID2.0 board and my project is MVC so I thought I'd toss this question in here and see what happens.My project integrates a lot of the user/roles stuff from the Identity 2.0 Samples app....

View Article

ASP.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 Article


Obtaining Bearer Token from Azure Active Directory OpenIDConnect Sign-In

I'm trying to build an app with both MVC and Web API using Azure Active Directory for authentication where MVC uses cookies and Web API uses bearer tokens. After the user is signed in with the...

View Article

Add ASP User.Identity methods for razor pages

Hi,I have the standard ASP Identity provider which I have added an extra property to.My Property is FriendlyName which is the screen name that I wish to display on my View. Is there a way for me to...

View Article

Simplest code to include an authentication and authorization in asp.net website

I am creating a database driven website where I need to have atleast two administrators and many other members/users. I need the website to be secure and authentication and authorization is to be...

View Article
Browsing all 4737 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>