Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

authentication

Store/assign roles of authenticated users

September 3, 2022 by Magenaut

I am upgrading a site to use MVC and I am looking for the best way to set up Authentication.

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, authentication, forms-authentication Leave a comment

MVC 5 Access Claims Identity User Data

September 3, 2022 by Magenaut

I am developing an MVC 5 web application using Entity Framework 5 Database First approach. I am using OWIN for the authentication of Users. Below shows my Login method within my Account Controller.

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, asp.net-mvc-5, authentication, claims-based-identity Leave a comment

Custom Authentication in ASP.Net-Core

September 2, 2022 by Magenaut

I am working on a web app that needs to integrate with an existing user database. I would still like to use the [Authorize] attributes, but I don’t want to use the Identity framework. If I did want to use the Identity framework I would add something like this in the startup.cs file:

Categories ASP.NET, Q&A Tags asp.net, asp.net-core, asp.net-core-mvc, authentication, c# Leave a comment

How do I protect static files with ASP.NET form authentication on IIS 7.5?

September 2, 2022 by Magenaut

I have a website running on a IIS 7.5 server with ASP.NET 4.0 on a shared host, but in full trust.

Categories ASP.NET, Q&A Tags asp.net, authentication, iis-7, iis-7.5 Leave a comment

Allow anonymous authentication for a single folder in web.config?

September 2, 2022 by Magenaut

So here is the scenario, I have an Asp.Net application that is using a custom authentication & membership provider but we need to allow completely anonymous access (i.e.) to a particular folder within the application.

Categories ASP.NET, Q&A Tags asp.net, authentication, web-config Leave a comment

how to generate a unique token which expires after 24 hours?

September 2, 2022 by Magenaut

I have a WCF Webservice which checks if the user is valid.

Categories ASP.NET, Q&A Tags asp.net, authentication, c#, token, wcf Leave a comment

.NET Core Identity Server 4 Authentication VS Identity Authentication

September 2, 2022 by Magenaut

I’m trying to understand the proper way to do authentication in ASP.NET Core. I’ve looked at several Resource (Most of which are out dated).

Categories ASP.NET, Q&A Tags asp.net, asp.net-core, authentication, c#, openid-connect Leave a comment

How do I log a user out when they close their browser or tab in ASP.NET MVC?

September 2, 2022 by Magenaut

I need to sign out a user when the user closed the tab or browser, how do I do that in ASP.NET MVC?

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc, authentication, c#, form-authentication Leave a comment

asp.net cookies, authentication and session timeouts

September 2, 2022 by Magenaut

I have an asp.net website that uses forms authentication. There are a few things I keep in sessions like username, userID, email, etc.

Categories ASP.NET, Q&A Tags asp.net, authentication, cookies, session Leave a comment

AuthenticateRequest event

September 2, 2022 by Magenaut

Categories ASP.NET, Q&A Tags asp.net, authentication, c#, forms-authentication, httpapplication Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page13 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress