Skip to content

Allow blacklisting domains#2

Open
kamilbielawski wants to merge 1 commit into
ajam:masterfrom
kamilbielawski:master
Open

Allow blacklisting domains#2
kamilbielawski wants to merge 1 commit into
ajam:masterfrom
kamilbielawski:master

Conversation

@kamilbielawski

Copy link
Copy Markdown

In some cases it might be more convenient to use blacklist instead of a whitelist. This PR adds such possibility.

@mhkeller

mhkeller commented Jun 8, 2015

Copy link
Copy Markdown
Contributor

The code looks good. What is the use case you're picturing? The idea for the whitelist was so people couldn't hijack your server to run their own service.

@kamilbielawski

Copy link
Copy Markdown
Author

It might be useful when you want your service to be publicly available, but still have a mechanism that would help you prevent it from being abused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants