<table><tr><td style="">ngraham added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D15718">View Revision</a></tr></table><br /><div><div><p>So the goal is to be able to turn off indexing for certain files?</p>
<p>Baloo already has a global toggle to stop indexing anything, and you can also add folders to the exclude lists.</p>
<p>But stepping back even farther: <em>why</em> do we want to turn off indexing for certain files? Is it because they might be dangerous? If that's the case, then we should work on sandboxing the file extractor, not break the functionality. We never intentionally break our software because it might be dangerous; we fix the danger, or offer a warning. Our users are adults and prefer to be treated as such.</p>
<p>Perhaps we should get some more eyes on <a href="https://phabricator.kde.org/D8532" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">D8532: [WIP] Restrict file extractor with Seccomp</a>.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R293 Baloo</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15718">https://phabricator.kde.org/D15718</a></div></div><br /><div><strong>To: </strong>smithjd, ngraham, Baloo, ltoscano<br /><strong>Cc: </strong>ltoscano, marten, bruns, ngraham, kde-frameworks-devel, Baloo, ashaposhnikov, michaelh, astippich, spoorun, abrahams<br /></div>