<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1011868" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1011868</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/attaching-file-users-machine-then-mail#comment-1068317</link>
    <description> &lt;p&gt;Hi purplepages,&lt;/p&gt;
&lt;p&gt;  This will have to be general since I don&#039;t know what type of files you expect to upload.&lt;br /&gt;
  1) you could check file extensions -- If you are expecting *.txt or *.doc and someone&#039;s trying to upload *.exe cancel the process. (Doesn&#039;t stop someone from renaming virusX.exe virusX.doc, though)&lt;br /&gt;
  2) you could open &amp;amp; read the file; if it contains anything other than ascii characters in the alphanumeric range, cancel the process. This implies you need a cgi program that is capable of reading files. You could also use the program to check the file size and reject anything over, say, 30 megabytes &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;br /&gt;
  3) if you are allowing gifs, jpgs, etc, you could get a cgi program to read the header information if it doesn&#039;t jive with the appropriate data, cancel the operation.&lt;/p&gt;
&lt;p&gt;check out &lt;a href=&quot;http://www.cgi-resources.com&quot; class=&quot;bb-url&quot;&gt;http://www.cgi-resources.com&lt;/a&gt; for possibilities&lt;/p&gt;
&lt;p&gt;Vinny&lt;/p&gt;
 </description>
     <pubDate>Thu, 27 Jul 2000 18:13:06 +0000</pubDate>
 <dc:creator>Vincent Puglia</dc:creator>
 <guid isPermaLink="false">comment 1068317 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/attaching-file-users-machine-then-mail#comment-1068313</link>
    <description> &lt;p&gt;I have asked my host for an upload utility, so hopefully this will do the trick (if he puts it in place!!!).&lt;/p&gt;
&lt;p&gt;Also Vinny, how could I check it for binary data in case of virus&#039;s. Any good resource sites on the matter would be good.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
 </description>
     <pubDate>Thu, 27 Jul 2000 17:57:27 +0000</pubDate>
 <dc:creator>purplepages</dc:creator>
 <guid isPermaLink="false">comment 1068313 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/attaching-file-users-machine-then-mail#comment-1068292</link>
    <description> &lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Regarding:&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote:&lt;br /&gt;
...CDONTS will think that this is actually on the server itself. If I&#039;m wrong...
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;  does this mean you tried it? If not, then try it.&lt;br /&gt;
  Not being familiar with CDONTS, I can&#039;t really comment on what it can and cannot do. However, if your current cgi programs do not allow for attaching files, you&#039;ll have to get another -- &lt;a href=&quot;http://www.cgi-resources.com.&quot; class=&quot;bb-url&quot;&gt;http://www.cgi-resources.com.&lt;/a&gt;  Also, I would be wary of allowing people to upload/attach files.  In other words, I&#039;d use a program that checks the file for binary content first and if it exists, rejects it. (Unless of course if you like playing the virus version of Russian Roulette &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Vinny&lt;/p&gt;
 </description>
     <pubDate>Thu, 27 Jul 2000 13:01:28 +0000</pubDate>
 <dc:creator>Vincent Puglia</dc:creator>
 <guid isPermaLink="false">comment 1068292 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/attaching-file-users-machine-then-mail#comment-1068257</link>
    <description> &lt;p&gt;I&#039;m not quite sure what you are after, but it seems like the upload tool would need to be used (I could be wrong though). The only other way I know is to have them e-mail you directly and attach the file, which of course is not at all what you want... &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 27 Jul 2000 02:00:54 +0000</pubDate>
 <dc:creator>John Pollock</dc:creator>
 <guid isPermaLink="false">comment 1068257 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
