Replies: 3 comments
-
The extension in fact does not have a "default" If deploying the application behind a proxy there is a recipe here that shows you can configure your application and still use the utility I would however recommend you implement your own |
Beta Was this translation helpful? Give feedback.
-
Regarding multiple users behind the same IP address, perhaps implementing some kind of fingerprinting which you can access from the headers which can then be used in your |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply. Yes I was thinking about some kind of properties I can use from the headers to generate a fingerprint. Some sort of combination with ip and fingerprint would be the best option when the attacker tries to dynamically change his headers for each request. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have a question regarding the requester identification method.
As seen in the Docs and examples, the Limiter class uses the "get_remote_address" function as a default identification resolver.
When the service runs behind an nginx or other proxy it will always return 127.0.0.1 instead of the forwarded ip address.
I guess we would have to write our own function to determine unique requester identification?
What would be the best approach to consider ip address and other request properties?
It could be a that in a building several users use the rest api with the same ip address.
What identification method did you guys use for that?
Beta Was this translation helpful? Give feedback.
All reactions