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