Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebDirProperties Element (Iis Extension) does not allow to configure FormsAuthentication #4818

Open
wixbot opened this issue Jul 8, 2015 · 2 comments

Comments

@wixbot
Copy link

wixbot commented Jul 8, 2015

WebDirProperties containts settings for enabling/disabling authentication options: Anonymous, Basic, Digest, Passport, Windows. However FormsAuthentication option is missing.

Originally opened by andsoulnd

@wixbot
Copy link
Author

wixbot commented Jul 14, 2015

From the IIS 7 Online Documentation:

Command Line


To enable or disable Forms authentication, use the following syntax:

appcmd set config /commit:WEBROOT /section:system.web/authentication /mode: None | Windows | Passport | Forms

noteNote

Passport is a supported value for the mode attribute; however, Passport authentication is not supported on Windows Vista or Windows Server 2008.

By default, IIS 7 sets the mode attribute to Windows, which disables Forms authentication. If you set the attribute to Forms, you enable Forms authentication. For example, to enable Forms authentication, type the following at the command prompt, and then press ENTER:

appcmd set config /commit:WEBROOT /section:system.web/authentication /mode:Forms

Note

When you use Appcmd.exe to configure the authentication element at the global level in IIS 7, you must specify /commit:WEBROOT in the command so that configuration changes are made to the root Web.config file instead of ApplicationHost.config.

  1. A Forms attribute to mirror Windows as above would be need.

  2. Would need to verify that the appropriate changes are being made to the root Web.config.

Originally posted by jmcooper8654

@wixbot
Copy link
Author

wixbot commented Jul 14, 2015

Release changed from v3.8 to v3.x

@wixbot wixbot added this to the v3.x milestone Dec 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant