Define trusted inputs before building prompts
Every LLM integration receives information from sources with different levels of reliability. Application configuration may contain approved instructions. Authenticated business systems may provide verified records. Customer messages, uploaded documents, external websites and retrieved knowledge content may contain useful information but should not be treated as application instructions. A customer asking for a flight quotation can provide a destination and travel dates. That customer cannot grant themselves permission to view another agency's negotiated fares simply by including such a request in the message. Trust must therefore be established outside the model.
The application should verify the user's identity, role, organization, authorized operations and relevant record ownership before preparing model context or processing a requested action.


