We are developing some slash commands to launch internal processes from mattermost.
The slash command api is really awesome!! And it works great.
But we would like to only allow users who are logged in to mattermost from the internal company network to be able to launch these slash commands.
In other words we want to reduce the chance that our mattermost server (which is available on the internet) can be attacked and launch these slash commands.
Are there any security measures we can take, to ensure users logged on to mattermost from outside the company network can NOT launch slash commands?