2 Replies - 345 Views - Last Post: 16 February 2017 - 12:38 PM

#1 toad87  Icon User is offline

  • D.I.C Head

Reputation: 9
  • View blog
  • Posts: 197
  • Joined: 21-May 12

Using NGINX As a Filtering Service

Posted 16 February 2017 - 11:47 AM

Hi,

I'm currently using nginx as a router to my microservices. I need to filter out and deny certain requests.

The filter will be for any requests where:
a). The username is "guest"
B). The HTTP method is POST

Is this possible using NGINX? I am using a single sign on Java Spring Security for my microservices.

Thanks!

Toad

Is This A Good Question/Topic? 0
  • +

Replies To: Using NGINX As a Filtering Service

#2 no2pencil  Icon User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6540
  • View blog
  • Posts: 30,613
  • Joined: 10-May 07

Re: Using NGINX As a Filtering Service

Posted 16 February 2017 - 11:53 AM

For the method, absolutely. However for the user name, I would expect that :

a.) nginx isn't the right tool, it should only be serving the data, not managing it at the value of fields
b.) if the data is encrypted via https, then this data shouldn't be visible at this level

Just my opinions.
Was This Post Helpful? 0
  • +
  • -

#3 toad87  Icon User is offline

  • D.I.C Head

Reputation: 9
  • View blog
  • Posts: 197
  • Joined: 21-May 12

Re: Using NGINX As a Filtering Service

Posted 16 February 2017 - 12:38 PM

View Postno2pencil, on 16 February 2017 - 11:53 AM, said:

For the method, absolutely. However for the user name, I would expect that :

a.) nginx isn't the right tool, it should only be serving the data, not managing it at the value of fields
b.) if the data is encrypted via https, then this data shouldn't be visible at this level

Just my opinions.


Ah yes, that is what I expected. A filter servlet is what I think I need. Thanks!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1