You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

247 lines
14 KiB

1 year ago
1 year ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. For more information on how to configure your ASP.NET application, please visit
  4. http://go.microsoft.com/fwlink/?LinkId=169433
  5. -->
  6. <configuration>
  7. <!--
  8. For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
  9. The following attributes can be set on the <httpRuntime> tag.
  10. <system.Web>
  11. <httpRuntime targetFramework="4.6.1" />
  12. </system.Web>
  13. -->
  14. <!--<add key="SendEmailId" value="support@japanremit.com" />
  15. <add key="SendEmailPwd" value="Lup82850@" />
  16. <add key="SmtpServer" value="smtp.office365.com" />
  17. <add key="SmtpPort" value="587" />-->
  18. <configSections>
  19. <sectionGroup name="CustomSection" type="Swift.web.Library.MySectionGroup,Swift.Web">
  20. <section name="SDNListSection" type="Swift.web.Library.SDNListSection,Swift.Web" />
  21. <section name="PartnerAgentSection" type="Swift.web.Library.PartnerAgentSection,Swift.Web" />
  22. </sectionGroup>
  23. </configSections>
  24. <CustomSection>
  25. <SDNListSection>
  26. <SDNListSetting>
  27. <add key="U1267" name="UNSC ISIL AQ" url="https://scsanctions.un.org/14bhken-al-qaida.xml" active="1" field1="QDi,QDe" />
  28. <add key="U1988" name="UNSC Taliban" url="https://scsanctions.un.org/b9un2en-taliban.xml" active="1" field1="TAi,TAe" />
  29. <add key="U2231" name="UNSC IRAN" url="https://scsanctions.un.org/hv81pen-iran.xml" active="1" field1="IRi,IRe" />
  30. <add key="U1718" name="UNSC DPRK" url="https://scsanctions.un.org/o81vken-dprk.xml" active="1" field1="TAi,TAe" />
  31. <add key="U2206" name="UNSC South Sudan" url="https://scsanctions.un.org/6q5upen-southsudan.xml" active="1" field1="SSi,SSe" />
  32. <add key="U1844" name="UNSC Somalia" url="https://scsanctions.un.org/xml/en/somalia" active="1" field1="SOi,SOe" />
  33. <add key="U1591" name="UNSC Sudan" url="https://scsanctions.un.org/bqpppen-sudan.xml" active="1" field1="SDi,SDe" />
  34. <add key="U1970" name="UNSC Libya" url="https://scsanctions.un.org/3z39jen-libya.xml" active="1" field1="LYi,LYe" />
  35. <add key="U2127" name="UNSC South Sudan" url="https://scsanctions.un.org/b8p92en-car.xml" active="1" field1="CFi,CFe" />
  36. <add key="U1533" name="UNSC Congo" url="https://scsanctions.un.org/7koh8en-drc.xml" active="1" field1="CDi,CDe" />
  37. <add key="U2140" name="UNSC Yemen" url="https://scsanctions.un.org/n9521en-yemen.xml" active="1" field1="YEi,YEe" />
  38. <add key="U2048" name="UNSC GB" url="https://scsanctions.un.org/61hj8en-gb.xml" active="1" field1="GBi,GBe" />
  39. <add key="U2374" name="UNSC Mali" url="https://scsanctions.un.org/h5k77en-mali.xml" active="1" field1="MLi,MLe" />
  40. </SDNListSetting>
  41. </SDNListSection>
  42. <PartnerAgentSection>
  43. <PartnerAgentConfig>
  44. <add key="394132" name="DONGA" username="" password="" field1="" />
  45. <add key="393880" name="JMENEPAL" username="" password="" field1="" />
  46. <add key="394130" name="TRANSFAST" username="" password="" field1="" />
  47. </PartnerAgentConfig>
  48. </PartnerAgentSection>
  49. </CustomSection>
  50. <system.web>
  51. <httpRuntime maxRequestLength="1048576" enableVersionHeader="false" targetFramework="4.5" />
  52. <!--<httpRuntime requestValidationMode="2.0" />-->
  53. <sessionState timeout="20" />
  54. <compilation debug="true" targetFramework="4.8.1">
  55. <assemblies>
  56. <add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
  57. <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
  58. <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
  59. </assemblies>
  60. </compilation>
  61. <authentication mode="Windows" />
  62. <authorization />
  63. <profile>
  64. <providers>
  65. <clear />
  66. </providers>
  67. </profile>
  68. </system.web>
  69. <appSettings>
  70. <add key="JMECoreAPIURL" value="http://77.68.15.91:1083/" />
  71. <add key="JMECoreAPI_HeaderToken" value="KPb1ttRs3CJnORpVU8SmAKUs7a42vtvjzQ47gU0b4u0vxAEI0PgZref6puzkVhLTX2PRNMGCbnb2TglupsjV5AGhYvw8a8POTcUcFSrEdHmTkhkIGNvUvxSpKjUOXGFQWaGU1bxoqqUSaFOmNE5zGojVmwPoMy38CNLwnpQKjdsIuxCKGCApa2gWHJl9gebmIpUODv9jAZgmMEaXqyR4CLg4iSksfTyYNjdqxEE88P5THYt5GuNk8Ti6K2RxIKfPWY49hBOpiYnXcApgSDiKFYqQG9WuZ7cvDGJIWg5WgWKjGle8Y3OydhONXVkN5OMPXDA4VZkK4c5nM363Zkg4w4qdzWuwhsEoAwU4rej6sMRZue3L0BowBJja1OK0iPoTX70EexX8rviMLOZPUDwhxzkL3eODS69VEEbjHb8WSjhho5h3KnCE4tcqCWihwSZ8Yuyhw1rzIMNw2C8pN1GEJyXc6goIFkf7dmK9ynJSxu52D9GjOkKqoD7dFNFulOFVfgeCuhPDYG2A2c2RSvGHv24VDXvmGVaAMLiPtsTz5oD8f0na7fX1xGg0Qveh0KgQL5THnrMK6gm5Ky7O8nbecIxY" />
  72. <!-- Stagin DB Connection -->
  73. <add key="connectionString" value="server=77.68.15.91\MSSQLSERVER01,1434;Database=FastMoneyPro_Account;uid=user_stag;pwd=P@ssw0rd" />
  74. <add key="RemittanceString" value="server=77.68.15.91\MSSQLSERVER01,1434;Database=FastMoneyPro_Remit;uid=user_stag;pwd=P@ssw0rd" />
  75. <add key="tranNoName" value="JME No" />
  76. <add key="root" value="D:\C# Projects\Personal\JME_Japan\WEB-CORE\Swift.web\" />
  77. <add key="urlRoot" value="http://localhost:49640/" />
  78. <add key="virtualDirName" value="" />
  79. <add key="filePath" value="D:\C# Projects\Personal\JME_Japan\WEB-CORE\Swift.web\" />
  80. <add key="gridWidth" value="700" />
  81. <add key="gridHeight" value="-1" />
  82. <add key="companyName" value="IME London (Subhida UK Ltd) Ltd.|Pentax House, South Hill Avenue, South Harrow, London, HA2 0DU." />
  83. <add key="isMenuForLive" value="Y" />
  84. <add key="fileSize" value="2097152" />
  85. <!--<add key="reportPageSize" value="100" />-->
  86. <add key="defaultDocPath" value="D:\GME\Documents\" />
  87. <add key="customerDocPath" value="D:\" />
  88. <add key="customerDocFileExtension" value=".jpeg,.png,.jpg" />
  89. <add key="IntlAPISuperAgentId" value="1038" />
  90. <add key="IntlSuperAgentId" value="393877" />
  91. <add key="domesticSuperAgentId" value="1009" />
  92. <add key="domesticCountryId" value="113" />
  93. <add key="hoAgentId" value="" />
  94. <add key="reportPageSize" value="100" />
  95. <!--Best Remit API Data-->
  96. <add key="bestPartnerId" value="BRNNP9810" />
  97. <add key="bestUserName" value="GMESendAPI" />
  98. <add key="bestPwd" value="gmesend123" />
  99. <!--GIBL API-->
  100. <add key="gblpayagentcode" value="14" />
  101. <add key="gbluserid" value="gmexchanasdge" />
  102. <add key="gblpassword" value="123456asd" />
  103. <add key="gblCertPath" value="E:\C# Project\Live_systems\FastRemit_Live\APP\Swift.web\Certificates\GlobalRemit\bestpay.globalremit.p12" />
  104. <!--CSV maximu file Size 2MB -->
  105. <add key="csvFileSize" value="2097152" />
  106. <!--IMPORT OFAC Data-->
  107. <add key="OFAC_SDN" value="https://www.treasury.gov/ofac/downloads/consolidated/cons_prim.pip" />
  108. <add key="OFAC_ALT" value="https://www.treasury.gov/ofac/downloads/consolidated/cons_alt.pip" />
  109. <add key="OFAC_ADD" value="https://www.treasury.gov/ofac/downloads/consolidated/cons_add.pip" />
  110. <add key="OFAC_UNSCR" value="https://scsanctions.un.org/resources/xml/en/consolidated.xml" />
  111. <add key="eto" value="180" />
  112. <add key="verifyDocUpload" value="D:\TestUpload\" />
  113. <!--Email Sending configurations-->
  114. <!--<add key="SendEmailId" value="support@japanremit.com" />
  115. <add key="SendEmailPwd" value="Lup82850@" />
  116. <add key="SmtpServer" value="smtp.office365.com" />
  117. <add key="SmtpPort" value="587" />-->
  118. <add key="SendEmailId" value="" />
  119. <add key="SendEmailPwd" value="" />
  120. <add key="SmtpServer" value="smtp.office365.com" />
  121. <add key="SmtpPort" value="587" />
  122. <!--Push Nofitication http://10.1.1.110:9993-->
  123. <add key="pushNotificationUrl" value="http://localhost:3824/api/v1/notifications/push" />
  124. <!--Core API URL-->
  125. <add key="coreApiBaseURL" value="http://localhost:65345/" />
  126. <!-- API PartnerId-->
  127. <add key="transfast" value="394130" />
  128. <add key="jmeNepal" value="393880" />
  129. <add key="donga" value="394132" />
  130. <!-- END API PartnerId-->
  131. <!--Google 2 Factor Atuhentication-->
  132. <add key="GeoLocationIpInfoKey" value="51a166d9af16c06473e09ffc62f99e33cbd75d915889b0aa89bf3af3c1141f22" />
  133. <add key="2FAGoogle" value="JM3@J@PaNC0mP@nY" />
  134. <add key="UseGoogle2FAuthAgent" value="N" />
  135. <add key="UseGoogle2FAuthAdmin" value="N" />
  136. <add key="UseLocationAPI" value="N" />
  137. <add key="keyForEncryptionDecryption" value="JM3@J@pANt0kY0@R3m1TTaNc3YvClQmNDlEnc" />
  138. <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
  139. <!--Email Validation-->
  140. <add key="regex" value="\A(?:[a-z0-9!#$%&amp;'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&amp;'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)\Z" />
  141. </appSettings>
  142. <system.webServer>
  143. <security>
  144. <requestFiltering removeServerHeader="true">
  145. <requestLimits maxAllowedContentLength="1073741824" />
  146. <verbs>
  147. <add verb="OPTIONS" allowed="false" />
  148. <add verb="TRACE" allowed="false" />
  149. </verbs>
  150. </requestFiltering>
  151. </security>
  152. <modules runAllManagedModulesForAllRequests="true" />
  153. <defaultDocument>
  154. <files>
  155. <clear />
  156. <add value="default.aspx" />
  157. <add value="Default.htm" />
  158. <add value="Default.asp" />
  159. <add value="index.htm" />
  160. <add value="index.html" />
  161. <add value="iisstart.htm" />
  162. <add value="index.php" />
  163. </files>
  164. </defaultDocument>
  165. <directoryBrowse enabled="false" />
  166. <httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
  167. <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" />
  168. <dynamicTypes>
  169. <add mimeType="text/*" enabled="true" />
  170. <add mimeType="message/*" enabled="true" />
  171. <add mimeType="application/javascript" enabled="true" />
  172. <add mimeType="*/*" enabled="false" />
  173. </dynamicTypes>
  174. <staticTypes>
  175. <add mimeType="text/*" enabled="true" />
  176. <add mimeType="message/*" enabled="true" />
  177. <add mimeType="application/javascript" enabled="true" />
  178. <add mimeType="*/*" enabled="false" />
  179. </staticTypes>
  180. </httpCompression>
  181. <httpProtocol allowKeepAlive="true">
  182. <customHeaders>
  183. <!-- prevent mime based attacks -->
  184. <add name="X-Content-Type-Options" value="nosniff" />
  185. <!-- Referrer will be sent only for same origin site. Prevents from leaking referrer data over insecure connections -->
  186. <add name="Referrer-Policy" value="same-origin" />
  187. <!-- Set features of the site uses or not. -->
  188. <add name="Permissions-Policy" value="accelerometer=(),camera=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), usb=()" />
  189. <!--ensure their browsers always connect to a website over HTTPS. Protects against Clickjacking attacks. -->
  190. <add name="Strict-Transport-Security" value="max-age=31536000; includeSubDomains; " />
  191. <!-- enable Cross-site scripting (XSS). Protects against XSS injections. -->
  192. <add name="X-Xss-Protection" value="1; mode=block" />
  193. <!-- prevent clickjacking attacks-->
  194. <add name="X-Frame-Options" value="SAMEORIGIN" />
  195. <!-- CSP modern XSS directive-based defence -->
  196. <add name="Content-Security-Policy" value="default-src 'self'; connect-src *; font-src *; frame-src *; img-src * blob: data:; media-src *; object-src *; script-src * 'unsafe-inline' 'unsafe-eval'; style-src * 'unsafe-inline';" />
  197. <!-- remove display technology that's supporting the Web Server -->
  198. <remove name="X-Powered-By" />
  199. <remove name="Server" />
  200. <remove name="X-AspNet-Version" />
  201. <!---Disable caching for all static files. -->
  202. <add name="Cache-Control" value="no-cache, no-store" />
  203. <add name="Pragma" value="no-cache" />
  204. <add name="Expires" value="-1" />
  205. </customHeaders>
  206. </httpProtocol>
  207. </system.webServer>
  208. <runtime>
  209. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  210. <dependentAssembly>
  211. <assemblyIdentity name="System.Data.SQLite" publicKeyToken="db937bc2d44ff139" culture="neutral" />
  212. <bindingRedirect oldVersion="0.0.0.0-1.0.111.0" newVersion="1.0.111.0" />
  213. </dependentAssembly>
  214. <dependentAssembly>
  215. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  216. <bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
  217. </dependentAssembly>
  218. <dependentAssembly>
  219. <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  220. <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
  221. </dependentAssembly>
  222. <dependentAssembly>
  223. <assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
  224. <bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
  225. </dependentAssembly>
  226. <dependentAssembly>
  227. <assemblyIdentity name="System.Security.Cryptography.Pkcs" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  228. <bindingRedirect oldVersion="0.0.0.0-6.0.0.2" newVersion="6.0.0.2" />
  229. </dependentAssembly>
  230. <dependentAssembly>
  231. <assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
  232. <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
  233. </dependentAssembly>
  234. <dependentAssembly>
  235. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  236. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  237. </dependentAssembly>
  238. <dependentAssembly>
  239. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  240. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  241. </dependentAssembly>
  242. </assemblyBinding>
  243. </runtime>
  244. </configuration>