0

I have a site on IIS where the auth is being done by having a header included in all (classic ) asp pages, if session variables is not set, user is redirected to login page, setting the session variables if user is in sql table. However, this does not protect ressources like images and javascripts which are without that header file.

So is it possible to use basic authentification to perform a sql lookup in a user table on the IIS server?

NOTE: the users are NOT sql users, they are just entries in a regular table.

Lenne
  • 987
  • 1
  • 13
  • 32
  • Windows/IIS only supports Basic authentication against Active Directory. If you want something else, you have to develop your own IIS module. – Lex Li Jul 03 '21 at 05:06

1 Answers1

0

It appears that it is possible to write a module for external auth:

https://docs.microsoft.com/en-us/aspnet/web-api/overview/security/basic-authentication#basic-authentication-with-custom-membership

Lenne
  • 987
  • 1
  • 13
  • 32