Page 1 of 1

New files .htaccess and web.config added only upon directory create

Posted: 19 Aug 2026, 16:22
by phunsoft
The news files "web.config" and ".htaccess" seem to be added only upon directory creation in the backend. So the improve security only on new but not existing direcories.

Souldn't the files finally exist in all directries under Phoca Download "control"?
  • Should one copy them manually into all existing directories as a one time action?
  • Wouldn't it be reasonable to verify their existence in the current directory upon each file upload?
  • If there was a need to update their content in the future, how to handle this?
Phoca Download 6.1.4

Regards
Peter

Re: New files .htaccess and web.config added only upon directory create

Posted: 28 Aug 2026, 14:11
by Jan
Hi, this is an extra added feature. Yes, if possible, it is a good idea to copy these files to existing directories. The problem with subsequently checking directories and adding such files is that it can slow down the system, so it is rather unwanted by users.

Re: New files .htaccess and web.config added only upon directory create

Posted: 31 Aug 2026, 11:47
by phunsoft
Thanks. Understood.