Skip to content
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

hide /parks routes from public access #4

Open
rajanski opened this issue Jan 3, 2015 · 1 comment
Open

hide /parks routes from public access #4

rajanski opened this issue Jan 3, 2015 · 1 comment

Comments

@rajanski
Copy link

rajanski commented Jan 3, 2015

Hi, and thanks for this great webmapping example.
is there an easy way to hide the /parks ans /parks/within routes at https://github.com/ryanj/flask-postGIS/blob/master/map.py#L24 from being served to public?

I see they are required for the leaflet part, but I want to prevent them to being abused from the internet.

Best

@rajanski
Copy link
Author

rajanski commented Jan 3, 2015

Maybe using http://flask-limiter.readthedocs.org/en/latest/#ratelimit-strategy and say '0 per day' could work because flasklimiter apparently looks at remote requests only

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

1 participant