Deny folder's sharing

In NextCloud 13 should be possible to permit to create public share of files and prevent it to folders ?
And should be possible to enforce an expiration date ?

ALex.

Hello,

Did you find a answer ?