I just read a comment in another thread which stated that server-side includes should be stored in a directory that is outside of the public part of the directory structure. I didn’t want to jump in on someone else’s thread and a search found nothing, so I have a few questions about that.
What benefits does it bring? Surely what amounts to HTML snippets are not of any interest or at any risk?
If it is worthwhile, how would I do it? How do I work out if the directory structure is suitable and whether the host will allow it? How do I write the includes to access such a directory?