Steven
Steven

Reputation: 1494

IIS Virtual Directory access restricted to only one user

Is it possible to restrict access to the content (pdf's) of a virtual directory of the default website in IIS7?

Is this possible simply by configuration in IIS console, or by modifying the web.config?

Upvotes: 2

Views: 1706

Answers (1)

Steven
Steven

Reputation: 1494

After all, it was not that hard to achieve.

I needed to add "URL authorization" service to the Web Server Role, after that the "Authorization Rules" appeared in IIS and I could grant access explicitly to a certain user and remove the Allow all user rule.

Upvotes: 3

Related Questions