How may I protect my app from being copied?

How may I protect my app from being copied?

I hope disabling "Copy application" and "Save as script" commands is sufficient, but how to do this?

Embedding is of course insufficient, since from the code anyone can find the main app URL, and from that page run either copy command.

Thanks.