I am already aware that you cannot directly create Apex classes in production orgs (have to use either the Force.com IDE or changesets). But if I include test cases can the Tooling API do it?
Also related question; can the Tooling API define Security Settings for classes/pages it creates as well?