In this specific case, and talking as a security aware user, I do not answer a question and dissuade anyone from doing so if it is a known attack vector. We've seen several times where answers with vulnerabilities bite our collective behinds where developers, ignoring all warnings, use this methods because "they solve the problem" (obvious example of this: Problematic PHP Cryptography Advice in Popular Questions).
In cases where the OP insists using the broken method, it has to make a very strong case why it should be done that way, otherwise, even while knowing the answer, I recommend not providing it. As internet denizens and developers, enabling others to deploy vulnerable services is a disservice against ourself and our environment becomes more hostile and insecure over time.
Now, addressing the general case, I would recommend instead of giving a complete ready to copy solution, just describing how it should be done itself. That would force any potential reader to understand what is being done and why it is not recommended, instead of just blindly copy-n-pasting.