Question
Include User Defined Language Items
I am currently developing an app that needs to let users
define their own editable text for some items.
I didnt want to include all of these options in the database to avoid having a large database and lots of cfquery's so I though having them in a file of some sort would be best, and just including the file as needed.
So, having thought that I put a bunch of cfset's in the language file and set all these variables, but then I realised that someone could put a cfdump in there and have the app spit out information that they shouldnt see.
So how can you let users define language items in a file and load them as usable variables, but not allow them to put other CF tags in that page?
I didnt want to include all of these options in the database to avoid having a large database and lots of cfquery's so I though having them in a file of some sort would be best, and just including the file as needed.
So, having thought that I put a bunch of cfset's in the language file and set all these variables, but then I realised that someone could put a cfdump in there and have the app spit out information that they shouldnt see.
So how can you let users define language items in a file and load them as usable variables, but not allow them to put other CF tags in that page?
