-
Open votre IIS manager et sélectionnez le directory you want to protect.
-
Under le "IIS" section select "Authentication".
-
Disable "Anonymous Auth".
-
Activez le desired Auth method (usually "Basic Auth") et it will be valid for this directory only.
-
Ajoutez un User account.
- Left click directory in IIS, Edit Permissions..., Security, Edit, Add, enter a user depuis votre Active Directory
-
Give that user Read, Execute, List Permissions on le directory needed, alors login via le newly created user.
- left click newly added user et check Allow for Full control
-
To log in, use le domain username et password (i.e. UN: admin@myDomain.local, PW: p@$$w0rd).
Note: Vous pouvez add / remove auth methods @ Role Services window.
As an alternative you can code certains auth system using serverside languages like PHP / ASP