<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Not able to check the file type before uploading in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/not-able-to-check-the-file-type-before-uploading/m-p/120381#M33071</link>
    <description>&lt;P&gt;Is there any option where I can validate the file content type of the document before uploading it through alfresco community edition 6.2.0.&lt;/P&gt;&lt;P&gt;Other wise the user can manipulate the request and can upload any other bat, exe files through the system.&lt;/P&gt;</description>
    <pubDate>Thu, 20 May 2021 14:48:37 GMT</pubDate>
    <dc:creator>amanpreet_singh</dc:creator>
    <dc:date>2021-05-20T14:48:37Z</dc:date>
    <item>
      <title>Not able to check the file type before uploading</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/not-able-to-check-the-file-type-before-uploading/m-p/120381#M33071</link>
      <description>&lt;P&gt;Is there any option where I can validate the file content type of the document before uploading it through alfresco community edition 6.2.0.&lt;/P&gt;&lt;P&gt;Other wise the user can manipulate the request and can upload any other bat, exe files through the system.&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 14:48:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/not-able-to-check-the-file-type-before-uploading/m-p/120381#M33071</guid>
      <dc:creator>amanpreet_singh</dc:creator>
      <dc:date>2021-05-20T14:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to check the file type before uploading</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/not-able-to-check-the-file-type-before-uploading/m-p/120382#M33072</link>
      <description>&lt;P&gt;There technically can never be a way of validating the file type BEFORE an upload. Any data provided that you could check before the upload could be faked, and only once the file has already been uploaded do you have the final / effective file that you could validate and be sure will not be faked / tricked by the client afterwards.&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 08:11:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/not-able-to-check-the-file-type-before-uploading/m-p/120382#M33072</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2021-05-21T08:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to check the file type before uploading</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/not-able-to-check-the-file-type-before-uploading/m-p/120383#M33073</link>
      <description>&lt;P&gt;As &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/16045"&gt;@afaust&lt;/A&gt; suggest you: it's impossible &lt;U&gt;before&lt;/U&gt; to upload an item.&lt;/P&gt;&lt;P&gt;The only think that's come to my mind is &lt;A href="https://angelborroy.wordpress.com/2015/12/17/alfresco-disabling-file-upload-by-mime-type-with-1-line-of-js-code/" target="_self" rel="nofollow noopener noreferrer"&gt;this blog post&lt;/A&gt; from &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/5487"&gt;@angelborroy&lt;/A&gt;. But, first: i'm not sure if &lt;A href="https://github.com/keensoft/alfresco-mimetype-blocker" target="_self" rel="nofollow noopener noreferrer"&gt;that addon&lt;/A&gt; is working&amp;nbsp; for latest Alfresco's versions. And second: this happens as soon as the user is uploading some content in share.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Cris.&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 09:27:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/not-able-to-check-the-file-type-before-uploading/m-p/120383#M33073</guid>
      <dc:creator>cristinamr</dc:creator>
      <dc:date>2021-05-21T09:27:17Z</dc:date>
    </item>
  </channel>
</rss>

