سؤال

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