Hi Everyone. Long time SU user here but first time extension developer. I’m wondering if there is any advice more experienced developers can give me on securing my extension before I launch it to the wider world. It’s going to be a subscription based product and so I want to be sure that it’s not open to being broken into and having user licences tampered with. I’m also interested in people’s thoughts on the best places to host and manage licences. I am literally brand new to this side of SU and have used a lot of AI to produce my code. It works well, but i’m sure there is so much I could have missed in terms of security. Any help or advice would be appreciated. Thanks All.
Take some time to learn the basics of Ruby coding:
Follow Best Coding Practices for a SketchUp extension running in a shared Ruby process:
- Extension Development Best Practices | SketchUp Help
Especially the section labeled Technical Requirements.
Further:- Extension Requirements — SketchUp Ruby API Documentation
I.e.: Choose a unique identifier for your top-level namespace module,
and wrap the code for each one of your extensions in a submodule of it. - Protecting Intellectual Property — SketchUp Ruby API Documentation
- SketchUp Extensions UX Guidelines
- Extension Requirements — SketchUp Ruby API Documentation
Become a Registered SketchUp Extension Developer:
Sign & Encrypt your Extension:
Thanks Dan, much appreciated. I’ll have a look through and come back if I have any questions.