Skip to content

Magenaut

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

authentication

Getting “401 Unauthorized” error consistently with jquery call to webmethod

August 25, 2022 by Magenaut

I have been struggling to get my jquery call to a webmethod to work. I am being bounced by the server with a “401 Unauthorized” response. I must have an incorrect setting in the web.config or somewhere else that would be preventing a successful call.

Categories ASP.NET, Q&A Tags asp.net, authentication, http-status-code-401, jquery, webmethod Leave a comment

figuring out why asp.net authentication ticket is expiring

August 25, 2022 by Magenaut

I need help figuring out why my authentication ticket is expiring after about an hour on my hosted website. But if I run the site locally the authentication ticket stays alive for the correct amount of time.

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

IdentityServer4 back-channel logout problem

August 24, 2022 by Magenaut

Using IdentityServer4 on ASP.NET Core 2.
Two clients relevant for this use case using ASP.NET MVC5.

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

How to Use ASP.NET Identity with your own Custom Table

August 24, 2022 by Magenaut

I have a very simple table that has UserID as int Password as text and Roles as text(comma separated).
Can i customize ASP.NET Identity structure to use it with my table?

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

Block User IP after 5 unsuccessful login attempts?

August 24, 2022 by Magenaut

Guys I have a simple customer login page in ASP.net (C#) which has 2 textboxes and a button, one for username and the other for password and button for submit.

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

Lock Down ASP.NET MVC App Administration Site to LocalHost only

August 24, 2022 by Magenaut

I have an ASP.NET MVC website that I would like to add a small administration page to. The issue I have is that I will be deploying this all over and I will not have SSL available. I am OK with requiring the administrator to remote desktop and use the local browser to perform the administration.

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

MVC Web Api won’t allow Windows Authentication

August 24, 2022 by Magenaut

I have a simple MVC web api 2 IIS hosted application which I want to enable windows authentication (initially not using Owin). I am running this on my development machine and running as local IIS.

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

Windows authentication does not work

August 24, 2022 by Magenaut

I am trying to setup Windows authentication in my .NET 4.0 MVC3 web application, so the intranet users in the company can log in without being prompted.

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

Google Chrome restores session cookies after a crash, how to avoid?

August 24, 2022 by Magenaut

On Google Chrome (I saw this with version 35 on Windows 8.1, so far I didn’t try other versions) when browser crashes (or you simply unplug power cable…) you’ll be asked to recover previous session when you’ll open it again. Good feature but it will restore session cookies too.

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

Forms based authentication not working between .Net 2.0 and .Net 4.0 application

August 24, 2022 by Magenaut

I have several web applications running on an Windows Server 2003 with IIS 6.0.

Categories ASP.NET, Q&A Tags asp.net, authentication, iis Leave a comment
Older posts
Newer posts
← Previous Page1 … Page8 Page9 Page10 … 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