diff options
author | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2002-12-17 07:13:43 +0300 |
---|---|---|
committer | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2002-12-17 07:13:43 +0300 |
commit | d81e88dbbc45a0db924e4b115d9ff1a5a3521154 (patch) | |
tree | a5e36c001d97fc03db4ff51f52835e28dfe344fd /data | |
parent | f73e4954e99610ea7163f4f9cec52b4eb7b8dc42 (diff) |
new sections
svn path=/trunk/mono/; revision=9713
Diffstat (limited to 'data')
-rw-r--r-- | data/machine.config | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/data/machine.config b/data/machine.config index c4250ba2f51..9c34bc343e7 100644 --- a/data/machine.config +++ b/data/machine.config @@ -8,6 +8,8 @@ <sectionGroup name="system.web"> <section name="httpHandlers" type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web" /> <section name="httpModules" type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web" /> + <section name="machineKey" type="System.Web.Configuration.MachineKeyConfigHandler, System.Web" /> + <section name="authentication" type="System.Web.Configuration.AuthenticationConfigHandler, System.Web" /> </sectionGroup> </configSections> <system.web> @@ -20,7 +22,15 @@ <add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler" /> </httpHandlers> <httpModules> + <!--<add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule" />--> </httpModules> + <authentication mode="Forms"> + <forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/"> + <credentials paswordFormat="Clear"> + <!--<user name="gonzalo" password="gonz"/>--> + </credentials> + </authentication> + <machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" /> </system.web> <appSettings> |