I have a node js application of version v0.10.35. This has a public set of url's to access, each specific for a customer. When a url is being accessed, it will check with the database and give the relevant output.
In my case there is an ex-customer, from whom I continuously get request for the his specific url. I have the domain address from which the request is sent which would look something like "www.ExampleForExCustomer.com". Is there a way to block the user with this address in Node js ?
The user when tries to access, will get an error message since he is no longer a customer, but this occurs after a db check is done for the customer, and i'm trying to avoid that process
For some complicated reasons, I cannot block the user by IP address on a network level.
I'm quite new to Node js, so it would be really helpful if someone has any insight into a solution for this issue
via Visahan
No comments:
Post a Comment