Force ignored files from server

Hi all,
In my nextcloud server I have some important doc files . I would share this only from web access.
I would deny from server the possibility to syncronize this files on the client.
I found this https://github.com/nextcloud/files_excludedirs but doesn’t work in nexcloud 16.
any suggestion, what should I do?
regards