advertisement

Article:
  Build a Dashboard Widget
Subject:   Isn't that a bit dangerous?
Date:   2005-05-09 09:32:39
From:   heyotwell
Response to: Isn't that a bit dangerous?

"I realise this isn't production code, and I may be missing something, but what happens if the user types something like foo;rm -rf $HOME into the command field?"


More importantly, what prevents a *widget* from simply running that code on its own?