﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - TempReports folder write permission</title><link>http://www.intersoftsolutions.com/Community/WebGrid/TempReports-folder-write-permission/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>TempReports folder write permission</title><link>http://www.intersoftsolutions.com/Community/WebGrid/TempReports-folder-write-permission/</link><pubDate>Mon, 19 Apr 2010 08:11:52 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;It is the default behavior of WebGrid export feature that the ReportPath is assigned to “~/TempReports” which means the “TempReports” folder should be created under the root of the web application. The folder also needs to have enough permission to allow the asp-net worker process to write the generated output files into the folder. You can always change the ReportPath property and other report-spesific property in the ReportInfo object provided by the event argument in OnExport event.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;One of the alternatives for your case is by setting the ReportPath folder to a location outside root of the web application. Please check &lt;a href="http://www.intersoftpt.com/Community/WebGrid/Saving-the-location-of-export-file-to-a-location-outside-the-website/" target="_blank"&gt;this thread&lt;/a&gt;, in order to set ReportPath folder to a specific location outside root of web application.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>TempReports folder write permission</title><link>http://www.intersoftsolutions.com/Community/WebGrid/TempReports-folder-write-permission/</link><pubDate>Fri, 16 Apr 2010 10:10:13 GMT</pubDate><dc:creator>Skgrid@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi Team,&lt;/p&gt;
&lt;p&gt;One of our client reported this security issue when they tested with security test tool &lt;span style="font-family: 'calibri','sans-serif'; color: #1f497d; font-size: 11pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'times new roman'; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;&lt;em&gt;HP WebInspect&lt;/em&gt;&lt;/span&gt;&lt;span style="font-family: 'calibri','sans-serif'; color: #1f497d; font-size: 11pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'times new roman'; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt; software.Intersoft webgrid requires TempReports folder&amp;nbsp;to be in Application root with write permissions for asp.net worker&amp;nbsp;process when we use the Exporting functionality of the Webgrid.The client does not want to give full rights&amp;nbsp;as it is a security threat for them.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'calibri','sans-serif'; color: #1f497d; font-size: 11pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'times new roman'; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;Can we have some other alternate approach for the export functionality to work without creating files in Tempreports folder?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'calibri','sans-serif'; color: #1f497d; font-size: 11pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'times new roman'; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;Please advice.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'calibri','sans-serif'; color: #1f497d; font-size: 11pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'times new roman'; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;The following is the result returned by this security tool regarding the TempReports folder.&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family: 'calibri','sans-serif'; color: #1f497d; font-size: 11pt; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'times new roman'; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;b&gt;&lt;span style="color: black; font-size: 10pt"&gt;PUT Method Arbitrary File Upload ( 3427 ) &lt;/span&gt;&lt;/b&gt;&lt;span style="color: black; font-size: 10pt"&gt;View Description&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;b&gt;&lt;span style="color: black; font-size: 10pt"&gt;Page: &lt;/span&gt;&lt;/b&gt;&lt;span style="color: black; font-size: 10pt"&gt;&lt;a href="http://10.225.3.227/EnterpriseConsole/TempReports/CreatedByHP7.txt"&gt;http://10.225.3.227:80/EnterpriseConsole/TempReports/CreatedByHP7.txt&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;b&gt;&lt;span style="color: black; font-size: 10pt"&gt;Request:
&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: black; font-size: 10pt"&gt;PUT /EnterpriseConsole/TempReports/CreatedByHP7.txt HTTP/1.1&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: black; font-size: 10pt"&gt;User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: black; font-size: 10pt"&gt;1.1.4322)&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: black; font-size: 10pt"&gt;Host: 10.225.3.227&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: black; font-size: 10pt"&gt;Memo: 50:Auditor.SendAsyncronousRequest:Attack(&lt;a href="cid:3427:AS:0,EID:cd5d162d-"&gt;CID:3427:AS:0,EID:cd5d162d-&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: black; font-size: 10pt"&gt;17e5-45e5-ae69-445dc6fbf2f3,ST:AuditAttack,AT:Other,APD:,I:&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: black; font-size: 10pt"&gt;(0,0),R:False,SM:2,SID:0BC3009B71C5B9EB73C66AD48214C16D,PSID:E372FA0352031EB&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: black; font-size: 10pt"&gt;5378BEF91C4CCB11D)&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: black; font-size: 10pt"&gt;Content-Type: text/plain&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: black; font-size: 10pt"&gt;Content-Length: 51&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin: 0in 0in 0pt"&gt;&lt;span style="color: black; font-size: 10pt"&gt;Referer:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regards,&lt;br /&gt;Madhavan&lt;/p&gt;&lt;/span&gt;</description></item></channel></rss>