<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Web Wiz Support and Community Forums : Forum folder security evaluati&#111;n</title>
  <link>https://forums.webwiz.net/</link>
  <description><![CDATA[This is an XML content feed of; Web Wiz Support and Community Forums : Web Wiz Forums : Forum folder security evaluati&#111;n]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 12:28:22 +0000</pubDate>
  <lastBuildDate>Wed, 30 Nov 2005 22:58:37 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.08</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forums.webwiz.net/RSS_post_feed.asp?TID=17286</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Web Wiz Support and Community Forums]]></title>
   <url>https://forums.webwiz.net/forum_images/web_wiz_forums.png</url>
   <link>https://forums.webwiz.net/</link>
  </image>
  <item>
   <title><![CDATA[Forum folder security evaluati&#111;n : Thanks JJLatWebWiz, dj air and...]]></title>
   <link>https://forums.webwiz.net/forum-folder-security-evaluation_topic17286_post94665.html#94665</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=22338">bhall007</a><br /><strong>Subject:</strong> 17286<br /><strong>Posted:</strong> 30&nbsp;November&nbsp;2005 at 10:58pm<br /><br />Thanks JJLatWebWiz, dj air and dpyers, and everyone else for the responses.&nbsp; This is just the answer I was looking for.&nbsp; I really appreciate the great info, and I'm going to pass it along and try to implement this setup.<br><br>So, the IUSR_SiteName "anonymous" account ought to have read/write NTFS permissions on the private and upload (if you're using it) folders, and read on everything else?&nbsp; <br><br>Thanks!<br><br>]]>
   </description>
   <pubDate>Wed, 30 Nov 2005 22:58:37 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/forum-folder-security-evaluation_topic17286_post94665.html#94665</guid>
  </item> 
  <item>
   <title><![CDATA[Forum folder security evaluati&#111;n :   bhall007 wrote:If you have...]]></title>
   <link>https://forums.webwiz.net/forum-folder-security-evaluation_topic17286_post94599.html#94599</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=19649">JJLatWebWiz</a><br /><strong>Subject:</strong> 17286<br /><strong>Posted:</strong> 29&nbsp;November&nbsp;2005 at 6:07pm<br /><br /><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by bhall007" alt="Originally posted by bhall007" style="vertical-align: text-bottom;" /> <strong>bhall007 wrote:</strong><br /><br />If you have the database in another private folder outside the root web folder (i.e., C:\Inetpub\private\Website.com), how can you enable the user to upload files to the private folder via FTP?</td></tr></table></P><P>Make sure you are not&nbsp;confusing the "database" and the "forum code"?&nbsp; The "database" is a single file, the one and only MDB file, and the "forum code" is the rest of the ASP, GIF,&nbsp;and JPG files and the folders.&nbsp; You don't want the users to upload or download or directly touch <U>anything</U> in the same folder as the database.&nbsp; When <U>you</U> use FTP with the credentials supplied by your host to upload files, you usually start at the highest folder that your host has granted you access, which is usually "above" your web root.</P><P>Here's a sample folder structure:<BR><IMG height=385 alt="Sample folder structure" src="http://www.bey&#111;ndinvestigati&#111;n.com/biforum/uploads/folderstructure.gif" width=267 border=1 border="0"></P><DIV>Everything in the wwwRoot folder and all subfolders is accessible directly from a web browser.&nbsp; If you know the name of the file in any of those folders, you can enter it into the browser address line and the web server will probably send it to the browser.</DIV><DIV>&nbsp;</DIV><DIV>Everything outside the wwwRoot folder is a sibling or parent and the web server&nbsp;provides no direct method to access files therein.&nbsp; Files can be accessed above the web root via scripts or other programmatic objects (assuming the anonymous web user has permission).&nbsp; So, in the example above, logs, privatedb, stats, and uploads (not the same as forum/uploads) can only be accessed via a script.&nbsp; The uploads folder above the web root is in case I would want to enable anonymous FTP.&nbsp; You should&nbsp;NEVER (NEVER, NEVER, NEVER)&nbsp;allow anonymous FTP in ANY web folder.</DIV><DIV>&nbsp;</DIV><DIV>If your private folder is a sibling or parent of the web root, then that is the best place for you forum's Access MDB.&nbsp; Remember, users are not uploading files to the database.</DIV><DIV><BR><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by bhall007" alt="Originally posted by bhall007" style="vertical-align: text-bottom;" /> <strong>bhall007 wrote:</strong><br /><br />Can you setup a virtual folder/shortcut in FTP that will allow a user to upload to that folder in FTP, but that is inaccessible through HTTP?&nbsp; Or will this have to be done by the administrator directly?</DIV><DIV></td></tr></table></DIV><DIV>&nbsp;</DIV><DIV>It would be best to not allow users to FTP files at all.&nbsp; Let web users use only the file upload functionality of WWF.</DIV><DIV>&nbsp;</DIV><DIV>I hope I understood your questions correctly.</DIV>]]>
   </description>
   <pubDate>Tue, 29 Nov 2005 18:07:20 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/forum-folder-security-evaluation_topic17286_post94599.html#94599</guid>
  </item> 
  <item>
   <title><![CDATA[Forum folder security evaluati&#111;n : Most webhosts are set up the way...]]></title>
   <link>https://forums.webwiz.net/forum-folder-security-evaluation_topic17286_post94593.html#94593</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=9949">dpyers</a><br /><strong>Subject:</strong> 17286<br /><strong>Posted:</strong> 29&nbsp;November&nbsp;2005 at 5:30pm<br /><br />Most webhosts are set up the way dj air said. <br><br>The problem with allowing users to ftp is that windows hosts don'ttypically support sub-ftp accounts tthat restrict users to be able toexecute ftp only on specific directories. You usually just have one ftpaccount - which allows ftp to any directory under your Username accountin dj airs example.<br><br>The work-around is to upload via a script which has access to theproper directory and you control the user's access to the upload scriptby requiring them to login to use it. Unix hosts usually allow sub-ftp.<br><br>Uploading via a script is no where near as efficient as ftp. Most hostswill limit your uploads via script to a 2Mb file. You can also run intoscript time-out issues.<br>]]>
   </description>
   <pubDate>Tue, 29 Nov 2005 17:30:29 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/forum-folder-security-evaluation_topic17286_post94593.html#94593</guid>
  </item> 
  <item>
   <title><![CDATA[Forum folder security evaluati&#111;n : ususally you have a set up where...]]></title>
   <link>https://forums.webwiz.net/forum-folder-security-evaluation_topic17286_post94565.html#94565</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=2216">dj air</a><br /><strong>Subject:</strong> 17286<br /><strong>Posted:</strong> 29&nbsp;November&nbsp;2005 at 2:12pm<br /><br />ususally you have a set up where you have<br><br><br>Username <br>l<br>l<br>-- website (folder)<br>l<br>l<br>--Private (folder)<br><br><br>yu ussually login to ftp at username level so see both directories.<br><br><br><br>]]>
   </description>
   <pubDate>Tue, 29 Nov 2005 14:12:27 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/forum-folder-security-evaluation_topic17286_post94565.html#94565</guid>
  </item> 
  <item>
   <title><![CDATA[Forum folder security evaluati&#111;n : One last question: If you have...]]></title>
   <link>https://forums.webwiz.net/forum-folder-security-evaluation_topic17286_post94499.html#94499</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=22338">bhall007</a><br /><strong>Subject:</strong> 17286<br /><strong>Posted:</strong> 28&nbsp;November&nbsp;2005 at 11:10am<br /><br />One last question:&nbsp; If you have the database in another privatefolder outside the root web folder (i.e.,C:\Inetpub\private\Website.com), how can you enable the user to uploadfiles to the private folder via FTP?&nbsp; Can you setup a virtualfolder/shortcut in FTP that will allow a user to upload to that folderin FTP, but that is inaccessible through HTTP?&nbsp; Or will this haveto be done by the administrator directly?<br><br>Thanks!<br>]]>
   </description>
   <pubDate>Mon, 28 Nov 2005 11:10:36 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/forum-folder-security-evaluation_topic17286_post94499.html#94499</guid>
  </item> 
  <item>
   <title><![CDATA[Forum folder security evaluati&#111;n : Thanks JJLatWebWiz and dypers...]]></title>
   <link>https://forums.webwiz.net/forum-folder-security-evaluation_topic17286_post94496.html#94496</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=22338">bhall007</a><br /><strong>Subject:</strong> 17286<br /><strong>Posted:</strong> 28&nbsp;November&nbsp;2005 at 10:17am<br /><br />Thanks JJLatWebWiz and dypers for the great info.&nbsp; I'll pass thatalong to my web host and hope that we get it all tied up.&nbsp; Thanks!<br><br>Happy Holidays!<br><br><br>]]>
   </description>
   <pubDate>Mon, 28 Nov 2005 10:17:18 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/forum-folder-security-evaluation_topic17286_post94496.html#94496</guid>
  </item> 
  <item>
   <title><![CDATA[Forum folder security evaluati&#111;n : bhall007, your administrator is...]]></title>
   <link>https://forums.webwiz.net/forum-folder-security-evaluation_topic17286_post94466.html#94466</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=19649">JJLatWebWiz</a><br /><strong>Subject:</strong> 17286<br /><strong>Posted:</strong> 27&nbsp;November&nbsp;2005 at 8:18pm<br /><br />bhall007, your administrator is not correct.<br /><br />But first, to be clear, when I say "anonymous user" or "anonymous web user", I mean the "IUSR_myaccount" (the actual account name could be anything) that dpyers is talking about.  I do not mean the anonymous NT "Guest" account.  With inconsequential exceptions, all actions taken by IIS to satisfy a request from a web browser are done on behalf of the "IUSR_myaccount" NT account.<br /><br />The only folders in which the anonymous web user MUST have write permission are the folders in which the Access MDB is stored and the uploads folder, if you allow uploads.  Otherwise, "Read-Only" is best.  No "writes" are taking place in any other folders by the anonymous web user, so the extra security is just that, "extra security".<br /><br />As far as the hacker utilities that dpyers is talking about, I think there are a couple things that make today's hacker utilities more dangerous than 10 years ago, probably most notably is the ADODB.Stream that lets hackers upload files without counting on other COM objects like ASPUpload.]]>
   </description>
   <pubDate>Sun, 27 Nov 2005 20:18:24 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/forum-folder-security-evaluation_topic17286_post94466.html#94466</guid>
  </item> 
  <item>
   <title><![CDATA[Forum folder security evaluati&#111;n : I think you&amp;#039;re getting confused...]]></title>
   <link>https://forums.webwiz.net/forum-folder-security-evaluation_topic17286_post94437.html#94437</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=9949">dpyers</a><br /><strong>Subject:</strong> 17286<br /><strong>Posted:</strong> 27&nbsp;November&nbsp;2005 at 1:10pm<br /><br />I think you're getting confused between anonymous user and your scriptuser. In a normal shared hosting environment, there's three windowsaccounts involved in this discussion...<br><br><ol>  <li><b>myaccount</b> - The login account given you to administer and ftp to your web site</li>  <li><b>IUSR_myaccoun</b>t - The account your asp scripts run under (IUSR = IIS User).<br>  </li>  <li><b>anonymous</b> - typically an ftp account that allows anyone toftp to/from your web space without loggin in. Unless you want your siteto be used by others to host warez and porn on your bandwidth dime,never allow an anonymous ftp account.<br>  </li></ol><br>Some web hosts have utilities that allow <b>myaccount </b>to change directory permissions for <b>IUSR_myaccount</b>. The other hosts require that you submit a trouble ticket and they change the permissions.<br><br>As JJLatWebWiz noted, I<b>USR_myaccount</b> should only have read permissions by default. If write permissions are needed for a specific directory, either a <b>myaccount </b>utility or the web host needs to set them to allow the <b>IUSR_myaccount</b> user (your script) to write.<br><br>So why do some web host allow read/write permissions for <b>IUSR_myaccount</b> by default? Typically, it's done for financial reasons rather than security reasons.<br><ol>  <li>If<b> IUSR_myaccount</b> has read/write permissions by default,they don't get trouble tickets and complaints from new users saying "myscript don't work"</li>  <li>They don't lay out cash for a utility that allows <b>myaccount </b>to set <b>IUSR_myaccount</b> permissions (Those utilities have their own set of security problems also).</li>  <li>They dont spend time on trouble tickets asking for permission changes.<br>  </li></ol>When your hosting provider is talking about "anonymouse user", he's really talking about the script user - <b>IUSR_myaccount</b>.If they allow the script user to write by default, it's for theirconvenience - not&nbsp; because your site is secure. Time to shop for anew host.<br><br>P.S. - I've got three hacker programs that do what JJLatWebWizdescribed - one of them I wrote in VB2 using the windows api about 10years ago so it's not like this is a new security risk.<br><br>]]>
   </description>
   <pubDate>Sun, 27 Nov 2005 13:10:38 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/forum-folder-security-evaluation_topic17286_post94437.html#94437</guid>
  </item> 
  <item>
   <title><![CDATA[Forum folder security evaluati&#111;n : So, is the administrator of my...]]></title>
   <link>https://forums.webwiz.net/forum-folder-security-evaluation_topic17286_post94368.html#94368</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=22338">bhall007</a><br /><strong>Subject:</strong> 17286<br /><strong>Posted:</strong> 26&nbsp;November&nbsp;2005 at 12:16pm<br /><br />So, is the administrator of my hosting provider correct in that anonymous <i>should</i>have write access in the forum folder?&nbsp; If anonymous users onlyhaveread-only access, does the forum software run as another user on alower level when it actually writes changes to the database, etc?&nbsp;If anonymous users are denied write access, then how can they writechanges, etc.?&nbsp; What are the ACL NTFS permissions that should begranted to anonymous?&nbsp; (i.e., Read...)<br>]]>
   </description>
   <pubDate>Sat, 26 Nov 2005 12:16:13 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/forum-folder-security-evaluation_topic17286_post94368.html#94368</guid>
  </item> 
  <item>
   <title><![CDATA[Forum folder security evaluati&#111;n : bhal007, your host&amp;#039;s response...]]></title>
   <link>https://forums.webwiz.net/forum-folder-security-evaluation_topic17286_post94355.html#94355</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=19649">JJLatWebWiz</a><br /><strong>Subject:</strong> 17286<br /><strong>Posted:</strong> 26&nbsp;November&nbsp;2005 at 1:28am<br /><br />bhal007, your host's response is probably pretty typical.  They are confusing "means" with "permission".  As a webmaster, we must assume that a hacker will eventually find a means to upload files.  When that happens, it may be only permissions that protect your site.<br /><br />Generally speaking, the forum and all file accesses, whether HTML, JPG, GIF, or ASP, are served in the NT user context of the anonymous web user.  When the IIS process attempts to do <u>anything</u> on the server, it's doing it on behalf of the anonymous web user.  It's good for the integrity of your files that each site sharing the same server has its own unique user account.  That's an important step.  But, the anonymous web user on all sites is also a member of the "Everyone" group.  And the default permissions on the c:\, c:\windows\, and c:\windows\system32\ folders allow full control by "Everyone".  Some hosts wrongly assume that those folders are safe because a web user can only browse folders defined by IIS as web folders.<br /><br />That's a very dangerous assumption, because it's entirely not true.  No web browser could enter "www.somedomain.com/c:\windows\system32\" to produce a list of files in that folder.  But, there are some very dangerous hacker tools out there that do just that.  I've used such a hacker utility in the form of a single ASP file to upload files to a host's c:\windows\system32\ folder (with their permission).  By having appropriate permissions set on your folders, your site would probably be up and running in a few days after the host gets their server running again.<br /><br />I would respond to your host with a thanks for their advice, but you would like to have the permissions on all folders except the uploads folder in your webspace set to "Read Only" for the anonymous web user account.  If they won't do it, I would consider looking for another host who will.  The best is a host that lets you set permissions yourself.  There are probably several users here who can recommend a such a host.]]>
   </description>
   <pubDate>Sat, 26 Nov 2005 01:28:50 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/forum-folder-security-evaluation_topic17286_post94355.html#94355</guid>
  </item> 
 </channel>
</rss>