Вопрос

I run my site on IIS 7 in godaddy. I need to create a password protected directory.

How can I get that in IIS? In apache, it uses .htaccess and .htpasswd.

I need to replicate .htpasswd's functionality on IIS. What alternative can be used for this?

Это было полезно?

Решение

This link has step by step instructions for adding authentication to a folder using the web.config file. It's a little more complicated in IIS than creating a password file.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top