Skip to content

Implement a permanent IP ban #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
seanlinsley opened this issue Dec 23, 2013 · 3 comments
Closed

Implement a permanent IP ban #14

seanlinsley opened this issue Dec 23, 2013 · 3 comments

Comments

@seanlinsley
Copy link
Contributor

We ultimately need a permanent IP ban to prevent the unending spam. Preferably the list would be stored on disk, but on Heroku you can't rely on that for persistent storage. That seems to only leave the database. The problem with that is the database itself isn't meant to be permanent; the demo app comes with a rake task to build data so there's something to look at.

A messy workaround would be to update the rake task to copy any IPs currently in the database, then to re-insert them when the database is re-seeded.

@seanlinsley
Copy link
Contributor Author

ref #13

@timoschilling
Copy link
Member

We could use two databases, one for the data (mysql) and one for the ips (redis)

@timoschilling
Copy link
Member

In #23 we have preferred a different solution #21

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

No branches or pull requests

2 participants