How does Publish work for teacher-made app?

This is a general question.

I built an app I want to allow students to run, but not edit. I don’t want anyone else to have any access to the app. If I choose Share and get a link for my students, without publishing the app, will this work? Is there a way to limit access to my students who have an account in my class? Then I wouldn’t need to create a Share link that could be used by someone else.

Carol

It is my belief that if you just share a link, but not share the project, then only someone with the link can get to it.

If you are talking about the getting to know you app DO NOT share it, ever. It violates the TOS as I understand them.