I’ve seen a few questions which I consider to be off to a bad start — how to do something which should have been done differently in the first place.
For example, on Stack Overflow there are many questions that involve PHP and databases, but they overlook the fundamental risk of SQL injection, so the user needs to learn more before proceeding.
I would like to be able to point to a simple explanation of the risks and the processes.
The question is: is it appropriate to ask and answer my own question to create such a reference? Are there any good examples of this?