moov2 / Orchard.ActiveDirectoryAuthorization

Module for Orchard CMS that handles authorization for active directory users.
19 stars 15 forks source link

Question on Step 3-4 Installation #3

Closed gelistir closed 11 years ago

gelistir commented 11 years ago

Greetings,

I would like to know about the installation step 3-4 which is about:

Once the module is installed and enabled, you need to setup IIS to enable windows authentication. On IIS7 and newer, open IIS and navigate to your Orchard website. Select the "Authentication" option, then enable "Windows Authentication", and have the rest as disabled.

The final step is to change the authentication configuration in the Web.config of the root of your website, replacing the current configuration to use FormsAuthentication.

my company intranet site has Forms and Anonymous authentication. I want users to visit orchard website anonymously, but if a user(with a AD role) or an administrator wants to edit a content he could sign in and edit that content. Is is possible when I enable this module?

Thanks in advance.

peterkeating commented 11 years ago

Unfortunately that currently isn't possible when enabling this module. Currently the module requires only Windows Authentication to be enabled for it to function.

DannyT commented 11 years ago

You may possibly be able to have a separate page for your AD users to access which does the authentication but I'm no sure how feasible it is to use both forms and windows authentication is on the same site is in iis/asp.net. Even if possible though, as peterkeating mentioned the module would need some changes.