What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 130 Stack Exchange communities.

In case of a 'working' solution but a dangerous one, should I flag it as 'Requires Moderator attention'?
I see lots of these, mostly server side web related answers with serious security problems.
I've now seen one ending with "And you're done", as in saying "Copy->Paste->Deploy on production".

I am not sure if I should flag this kind of answers or just let the community do it's magic. It seems like in this case the community did it's magic as this answer was marked as accepted and was then unmarked after a few comments.

UPDATE: Link to an example answer: http://stackoverflow.com/questions/2218438/php-is-there-a-correct-method-for-saving-config-data/2218487#2218487

share|improve this question
    
Linky. No way to judge without some idea of how bad you're talking... –  dmckee Feb 7 '10 at 22:51
    
Like security or possible scalability or performance issues ? –  Andrei Rinea Feb 7 '10 at 22:51
    
@dmckee: Added a link to the example which ending with "And you're done" –  Saggi Malachi Feb 7 '10 at 22:57
    
@Andrei Rinea: Security issues. Performance issues should obviously be handled by the community, no? –  Saggi Malachi Feb 7 '10 at 22:58
2  
I'd just comment and in egregious cases down-vote as well. –  ChrisF Feb 7 '10 at 22:58
2  
Yup, this is definitely a down-vote case. –  Pëkka Feb 7 '10 at 23:32
    
+1 because of your comment on Mark's answer ("the community did work its magic on this case (it was initially marked as the correct answer before I commented on it)") –  Pops Jul 16 '10 at 15:32

2 Answers 2

up vote 11 down vote accepted

Php is not one of my skills, but this looks like it is mostly fragile and contrary to good practices.

I'd just go with a down vote and explanatory comment.

share|improve this answer

Let the Community Work its Magic

It's sitting at the bottom of the page with a -2, with lots better (and clearer) answers above it.

share|improve this answer
2  
A comment or a direct edit in the answer, stating the danger of the answer, would add to this. A downvote doesn't prevent the answer from being visible, and associated to the question. Warning potential other viewers is necessary. –  Gnoupi Feb 8 '10 at 9:18
    
Gnoupi, fine point! –  Mark Harrison Feb 8 '10 at 11:14
    
Yeah, the community did work its magic on this case (it was initially marked as the correct answer before I commented on it) –  Saggi Malachi Feb 8 '10 at 14:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .