Reputation: 2557
I'm setting up slack alerts on a project I'm working on.
To use slack's Incoming web hook, all you have to do is do a POST
request to a slack url. I don't see any security on it. How is this secure? Wouldn't someone be able to post messages if he gets hold of this url, given that the url is public even in https connections ?
Upvotes: 11
Views: 7030
Reputation: 169368
The docs you linked say:
Keep it secret, keep it safe. Your webhook URL contains a secret. Don't share it online, including via public version control repositories. Slack actively searches out and revokes leaked secrets.
That is, you should keep the webhook URL as secret as any secret (database passwords, ...) in your app.
Upvotes: 11