How to make image uploads private by default

Currently, uploading images through the editor leads to public files by default. For internal wikis, it is necessary to have an option to upload them as private files.

For reference, using this method:

Or is there a different method to ensure private files for the wiki?