You can limit access to your db credentials. But other code can still launch missiles etc.