mirror of
https://github.com/jakobadam/RDSFactor.git
synced 2025-07-23 18:15:55 +02:00
Update .NET version
This commit is contained in:
parent
ba2fb74d64
commit
c038fe79a1
1 changed files with 61 additions and 66 deletions
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Note: As an alternative to hand editing this file you can use the
|
||||
web admin tool to configure settings for your application. Use
|
||||
|
@ -11,57 +11,55 @@
|
|||
<!-- Admin Defined settings -->
|
||||
<appSettings>
|
||||
<!-- PasswordChangeEnabled: Provides password change page for users. Value must be "true" or "false" -->
|
||||
<add key="PasswordChangeEnabled" value="true" />
|
||||
|
||||
<add key="PasswordChangeEnabled" value="true"/>
|
||||
<!-- LocalHelp: Displays local help for users, instead of the web-based help. Value must be "true" or "false" -->
|
||||
<add key="LocalHelp" value="false" />
|
||||
|
||||
<add key="LocalHelp" value="false"/>
|
||||
<!-- ShowDesktops: Displays or hides the Remote Desktops tab. Value must be "true" or "false" -->
|
||||
<add key="ShowDesktops" value="true" />
|
||||
|
||||
<add key="ShowDesktops" value="true"/>
|
||||
<!-- DefaultTSGateway: Admin can preset this to a given Gateway name, or set to "" for no gateway. -->
|
||||
<add key="DefaultTSGateway" value="" />
|
||||
|
||||
<add key="DefaultTSGateway" value=""/>
|
||||
<!-- GatewayCredentialsSource: TS Gateway Authentication Type.
|
||||
Admins can preset this.
|
||||
0 = User Password
|
||||
1 = Smartcard
|
||||
4 = "Ask me later"
|
||||
-->
|
||||
<add key="GatewayCredentialsSource" value="4" />
|
||||
|
||||
<add key="GatewayCredentialsSource" value="4"/>
|
||||
<!-- Devices and resources: Preset the Checkbox values to either true or false -->
|
||||
<add key="xPrinterRedirection" value="true" />
|
||||
<add key="xClipboard" value="true" />
|
||||
<add key="xDriveRedirection" value="false" />
|
||||
<add key="xPnPRedirection" value="false" />
|
||||
<add key="xPortRedirection" value="false" />
|
||||
|
||||
<add key="xPrinterRedirection" value="true"/>
|
||||
<add key="xClipboard" value="true"/>
|
||||
<add key="xDriveRedirection" value="false"/>
|
||||
<add key="xPnPRedirection" value="false"/>
|
||||
<add key="xPortRedirection" value="false"/>
|
||||
<!-- Public/Private Mode Timeout for FBA -->
|
||||
<add key="PublicModeSessionTimeoutInMinutes" value="20" />
|
||||
<add key="PrivateModeSessionTimeoutInMinutes" value="240" />
|
||||
|
||||
<add key="PublicModeSessionTimeoutInMinutes" value="20"/>
|
||||
<add key="PrivateModeSessionTimeoutInMinutes" value="240"/>
|
||||
<!-- Checkbox to opt for optimized LAN experience -->
|
||||
<add key="ShowOptimizeExperience" value="true" />
|
||||
<add key="OptimizeExperienceState" value="false" />
|
||||
<add key="SmsToken" value="true" />
|
||||
<add key="RadiusServer" value="192.168.121.9" />
|
||||
<add key="RadiusSecret" value="helloworld" />
|
||||
<add key="OTP" value="true" />
|
||||
<add key="EnableSMS" value="true" />
|
||||
<add key="EnableMail" value="false" />
|
||||
|
||||
<add key="ShowOptimizeExperience" value="true"/>
|
||||
<add key="OptimizeExperienceState" value="false"/>
|
||||
<add key="SmsToken" value="true"/>
|
||||
<add key="RadiusServer" value="192.168.121.9"/>
|
||||
<add key="RadiusSecret" value="helloworld"/>
|
||||
<add key="OTP" value="true"/>
|
||||
<add key="EnableSMS" value="true"/>
|
||||
<add key="EnableMail" value="false"/>
|
||||
</appSettings>
|
||||
<connectionStrings/>
|
||||
<!--
|
||||
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
|
||||
|
||||
<connectionStrings />
|
||||
|
||||
The following attributes can be set on the <httpRuntime> tag.
|
||||
<system.Web>
|
||||
<httpRuntime targetFramework="4.5" />
|
||||
</system.Web>
|
||||
-->
|
||||
<system.web>
|
||||
<!--
|
||||
The <authentication> section enables configuration
|
||||
of the security authentication mode used by
|
||||
ASP.NET to identify an incoming user.
|
||||
-->
|
||||
<!--
|
||||
<!--
|
||||
To turn on Windows Authentication:
|
||||
- uncomment <authentication mode="Windows"/> section
|
||||
- and comment out:
|
||||
|
@ -71,61 +69,58 @@
|
|||
Launch IIS Manager UI, click on RDWeb VDIR, double click on SSL Settings in the middle pane, uncheck 'Require SSL' and
|
||||
click Apply in the top right in the right pane. Repeat the steps for RDWeb/Pages VDIR.
|
||||
-->
|
||||
|
||||
<!--
|
||||
<!--
|
||||
<authentication mode="Windows"/>
|
||||
-->
|
||||
<authentication mode="Forms">
|
||||
<forms loginUrl="default.aspx" name="TSWAAuthHttpOnlyCookie" protection="All" requireSSL="true" />
|
||||
</authentication>
|
||||
|
||||
<webParts>
|
||||
<personalization defaultProvider="TSPortalProvider">
|
||||
<providers>
|
||||
<add name="TSPortalProvider" type="Microsoft.TerminalServices.Publishing.Portal.TSPortalProvider" />
|
||||
</providers>
|
||||
<authorization>
|
||||
<allow users="*" verbs="enterSharedScope">
|
||||
</allow>
|
||||
</authorization>
|
||||
</personalization>
|
||||
</webParts>
|
||||
<authentication mode="Forms">
|
||||
<forms loginUrl="default.aspx" name="TSWAAuthHttpOnlyCookie" protection="All" requireSSL="true"/>
|
||||
</authentication>
|
||||
<webParts>
|
||||
<personalization defaultProvider="TSPortalProvider">
|
||||
<providers>
|
||||
<add name="TSPortalProvider" type="Microsoft.TerminalServices.Publishing.Portal.TSPortalProvider"/>
|
||||
</providers>
|
||||
<authorization>
|
||||
<allow users="*" verbs="enterSharedScope"/>
|
||||
</authorization>
|
||||
</personalization>
|
||||
</webParts>
|
||||
<compilation targetFramework="4.5"/>
|
||||
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
|
||||
</system.web>
|
||||
|
||||
<system.webServer>
|
||||
<modules runAllManagedModulesForAllRequests="true">
|
||||
<remove name="FormsAuthentication" />
|
||||
<add name="RDWAFormsAuthenticationModule" type="Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormsAuthentication" />
|
||||
<remove name="FormsAuthentication"/>
|
||||
<add name="RDWAFormsAuthenticationModule" type="Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormsAuthentication"/>
|
||||
</modules>
|
||||
|
||||
<security>
|
||||
<authentication>
|
||||
<windowsAuthentication enabled="false" />
|
||||
<anonymousAuthentication enabled="true" />
|
||||
</authentication>
|
||||
|
||||
<authentication>
|
||||
<windowsAuthentication enabled="false"/>
|
||||
<anonymousAuthentication enabled="true"/>
|
||||
</authentication>
|
||||
|
||||
</security>
|
||||
<httpRedirect enabled="false" />
|
||||
<httpRedirect enabled="false"/>
|
||||
</system.webServer>
|
||||
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="TSPortalWebPart" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="6.0.0.0" newVersion="6.1.0.0" />
|
||||
<assemblyIdentity name="TSPortalWebPart" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
|
||||
<bindingRedirect oldVersion="6.0.0.0" newVersion="6.1.0.0"/>
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
|
||||
<location path="rdp">
|
||||
<system.web>
|
||||
<authorization>
|
||||
<deny users="?" />
|
||||
<deny users="?"/>
|
||||
</authorization>
|
||||
</system.web>
|
||||
<system.webServer>
|
||||
<handlers>
|
||||
<add name="RDWAResourceFileHandler" path="rdp" verb="*" type="Microsoft.TerminalServices.Publishing.Portal.ResourceFileHandler" preCondition="integratedMode" allowPathInfo="true" />
|
||||
<add name="RDWAResourceFileHandler" path="rdp" verb="*" type="Microsoft.TerminalServices.Publishing.Portal.ResourceFileHandler" preCondition="integratedMode" allowPathInfo="true"/>
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
</location>
|
||||
</configuration>
|
||||
</location>
|
||||
</configuration>
|
Loading…
Add table
Add a link
Reference in a new issue