Installed Dokuwiki on the above hosting, went to settings and it says that there are problems with security, and provides a link to how to fix it : https://www.dokuwiki.org/start?id=ru:security
I do everything according to instructions, but the test file yourserver.com/dokuwiki/data/pages/wiki/dokuwiki.txt
still available from the Internet.
Communicating with tech support I learned that: "In connection with the technical features of our hosting static files, for example, with the extension .txt are processed by a web server to Nginx and do not work directives, the Apache web server specified in the file .htaccess."
Further communication did not lead to anything good, except for offerings to use vds.
Therefore, the essence of the question: can means .htaccess to correct the situation?