In an MVC application I have a number of rtf files which are used as templates. The app loads them, fills the blanks and outputs the result as FileContentResult
. Users of the site are not supposed to have direct access to those rtf files. Where would be good place in the project to place them so access to them would be as descried?
I understand that I could put the files outside of the project folder and provide absolute path to them, but it sounds like a bad idea for a number of reasons. First, those files are integral part of the project and moving them outside of the project would mess are subversion system. Second we run several versions of the app on two different servers, so we don't want to make publishing any more complicated than it is. We don't really need the various versions to share those files, it's fine if each version of the app has a copy of them.