Model authoring and security