M
M
Maxim Yakovenko2017-10-27 12:55:25
Highload
Maxim Yakovenko, 2017-10-27 12:55:25

How to write a validating proxy service for clients?

There will be mobile and web clients that will make requests to the server infrastructure. Client requests will have the same basic structure for validation. In order to avoid validation of the client request on all services, it was proposed to write a separate service. It will validate the client, wrap the client request with its parameters and proxy further along the server infrastructure. It is interesting to hear opinions on the implementation of this task?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
ololo pishpish, 2017-10-27
@TheLazzziest

Nasxi/ModSecurity

R
RidgeA, 2017-10-27
@RidgeA

what exactly is the difficulty?

----запрос---> сервис валидации <---- запрос валидный ----> бэкэнд
        ^                            |
        |                  запрос не валидный
        |                            |
        ----- 400 -----------

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question