Sachin Singh

Sachin Singh

  • 7
  • 55.8k
  • 81.8k

Basic authentication against membership user table for static file.

Aug 10 2020 9:55 AM
Is there any way to implement custom basic authentication for static files.
I am trying to learn the concept of integrated mode for last 1 week but not able to understand it completely.
As per Microsoft documentation any authentication module built with asp.net can be used to authenticate both asp pages and non asp pages.
So far so good, 
There is a folder in my application , i want if any wants to access it , they should provide user name and psd.
 
It is fairly simple to implement a custom attribute for basic authentication for the same but is limited to MVC action or Controller.
 
If it is not possible , then please clear my doubts what is the benifit of Integrated mode , please give me some real life example insted of pointing to any articles.
I too have good net connection and i know how to search.

Answers (3)