How to add password-protected directories with IIS? 2025-04-10 I'm new to IIS. I need to setup password-protected directories. In Apache I can do this with htaccess and basic authentication. How to do this with IIS?