mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-02-10 18:05:10 +08:00
44 lines
1.6 KiB
XML
44 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<configuration>
|
|
<appSettings configSource="settings.config" />
|
|
<system.web>
|
|
<httpRuntime maxRequestLength="51200" />
|
|
<compilation debug="true" targetFramework="4.5" />
|
|
<authentication mode="Windows" />
|
|
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" />
|
|
</system.web>
|
|
<system.webServer>
|
|
<httpProtocol>
|
|
<customHeaders>
|
|
<add name="Access-Control-Allow-Origin" value="*" />
|
|
</customHeaders>
|
|
</httpProtocol>
|
|
<security>
|
|
<requestFiltering>
|
|
<requestLimits maxAllowedContentLength="52428800" />
|
|
<denyUrlSequences>
|
|
<add sequence=".." />
|
|
</denyUrlSequences>
|
|
<hiddenSegments>
|
|
<remove segment="App_Data" />
|
|
</hiddenSegments>
|
|
</requestFiltering>
|
|
</security>
|
|
</system.webServer>
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
|
|
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
|
|
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
|
|
</dependentAssembly>
|
|
</assemblyBinding>
|
|
</runtime>
|
|
</configuration> |