@PoorlyWindow549 Ok, I think I understand now. None of this is relevant to the current beta so I'm not sure why the discussion is here, but anyway....
I understand your problem and the risk of anyone being able to update your variable if you give your webhook out as a public address. However, I am also a little concerned that the way you are using the webhook is beyond the scope of my intention of providing it. The intention was to allow a user to communicate to their personal devices from other devices or websites. In general this would mean that you would keep the webhook address entirely private (or at least within trusted family/friends).
I'm interested to know more details of your use case and how it will be called and the likely volume of invocations you would expect to see etc. As the MacroDroid userbase has grown considerably (probably 10x) since I built this feature and backend infrastructure, I'm becoming more aware that I may need to control who can access this and introduce rate limiting etc. Currently my server is coping but it would probably only take a few more users who start hammering it massively before I run into issues that effect everyone.
I understand your problem and the risk of anyone being able to update your variable if you give your webhook out as a public address. However, I am also a little concerned that the way you are using the webhook is beyond the scope of my intention of providing it. The intention was to allow a user to communicate to their personal devices from other devices or websites. In general this would mean that you would keep the webhook address entirely private (or at least within trusted family/friends).
I'm interested to know more details of your use case and how it will be called and the likely volume of invocations you would expect to see etc. As the MacroDroid userbase has grown considerably (probably 10x) since I built this feature and backend infrastructure, I'm becoming more aware that I may need to control who can access this and introduce rate limiting etc. Currently my server is coping but it would probably only take a few more users who start hammering it massively before I run into issues that effect everyone.