<?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 Re: Native fPolicy file blocking with RegExp in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Native-fPolicy-file-blocking-with-RegExp/m-p/123208#M26394</link>
    <description>&lt;P&gt;Similar thing over here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to native file block a extension with double extension like "filename.aaa.bbb" with folicy. I tried to masquerade the dot, but nothing helped (\.aaa\.bbb). * or ? seem to not match for dots (periods).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So how to block double file extensions? We´re using Clustered Data Ontap 8.3P2.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Sep 2016 14:17:48 GMT</pubDate>
    <dc:creator>dadan</dc:creator>
    <dc:date>2016-09-13T14:17:48Z</dc:date>
    <item>
      <title>Native fPolicy file blocking with RegExp</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Native-fPolicy-file-blocking-with-RegExp/m-p/118263#M25265</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm searching for a documentation and/or explanation, how to use RegExp in native fPolicy file blocking. My customer wants to block double file extentions (like &amp;lt;filename&amp;gt;.cad.11,&amp;nbsp;&amp;lt;filename&amp;gt;.cad.08, ... )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One valid RegExp for this could be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;\.cad.[0-9]+?$&lt;/PRE&gt;&lt;P&gt;which will find this pattern at the end of a filename.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;vserver fpolicy policy scope create –vserver &amp;lt;vserver name&amp;gt; -policy-name &amp;lt;Policy Name&amp;gt; -file-extensions-to-include &amp;lt;RegExp&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;I can set the file extensions to match (after doing all the other setup requiered) and it is written, that it is possible to use regexp here.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;How do I add this to the command parameter -file-extensions-to-include? I tried some variations and they don't work (like putting "", '' around), but all ended up with an error &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;I was not able to find any documentation on that topic, so if someone has found something which I can handoff to the customer?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 21:26:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Native-fPolicy-file-blocking-with-RegExp/m-p/118263#M25265</guid>
      <dc:creator>BerndS</dc:creator>
      <dc:date>2025-06-04T21:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Native fPolicy file blocking with RegExp</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Native-fPolicy-file-blocking-with-RegExp/m-p/121020#M25971</link>
      <description>&lt;P&gt;To include charachters such as "?" in the command you can use the command "set -active-policy false", then set it back to true after your done.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 17:00:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Native-fPolicy-file-blocking-with-RegExp/m-p/121020#M25971</guid>
      <dc:creator>zacharyt</dc:creator>
      <dc:date>2016-07-06T17:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Native fPolicy file blocking with RegExp</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Native-fPolicy-file-blocking-with-RegExp/m-p/123208#M26394</link>
      <description>&lt;P&gt;Similar thing over here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to native file block a extension with double extension like "filename.aaa.bbb" with folicy. I tried to masquerade the dot, but nothing helped (\.aaa\.bbb). * or ? seem to not match for dots (periods).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So how to block double file extensions? We´re using Clustered Data Ontap 8.3P2.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 14:17:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Native-fPolicy-file-blocking-with-RegExp/m-p/123208#M26394</guid>
      <dc:creator>dadan</dc:creator>
      <dc:date>2016-09-13T14:17:48Z</dc:date>
    </item>
  </channel>
</rss>

