There are many similar questions, but they all seem to be related to either setting permissions or installing a plugin.
I am looking for a solution that is “dumb”, that is, allow code deployment from the source control and automatically have access to certain paths, without having to configure the server.
I only need to lock directories and files, none of the other features that have .htaccess.
Just to be clear, we use ColdFusion, not .NET, and although CF has various ways to process its own scripts, it does nothing with non-CFML scripts. (This can be done, for example, config.xml.cfm, but this is a dirty solution that requires updating the code, etc.)
(Of course, ideally, these directories / files should not even be in webroot, and if I could switch to Apache or IIS7, I could just use .htaccess, but at the moment these are not options.)
My current solution would be a readme.deploy.txt file containing instructions on how to manually set permissions for the corresponding files and directories in IIS Manager, but obviously I would rather avoid human intervention for him - any suggestions?
source
share