You don't need a different file chooser widget for that. You can use AppArmor or other MAC systems.
How would you do this with a generic MAC system without using additional software that dynamically changes the MAC policy and/or relabels files and without bothering the user?