Quote
Use the encrypted wallet patch (which will hopefully be part of the core client sooner than later). With it installed, the RPC credentials are sufficient only to do things that are mostly readonly. Anything that requires access the a private key (i.e. sending BTC to an address) requires an additional encryption passphrase that you would not store but would get from the user interactively when it is needed.
Wouldn't getnewaddress require write access to the wallet to save the newly-generated private key?