Skip to content

segmentio/reverse-proxy-interview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Reverse Proxy Security Interview

Our previous reverse proxy that we built was insecure and built in PHP!

Assignment

What is this? Developer wants to build a proxy to fetch URLs for Segment's internal use (Segment employees).

Old Proxy.

  • What security issues does the old proxy have?
  • How does a reverse proxy work?
  • What are some security gotchas of this?

New Proxy

  • Please build a working reverse proxy in the language of your choice.
  • Support Basic Authentication and some authentication scheme.
  • Add a "WAF" that blocks requests that contain "<script>" or "&ltimg&gt"
  • Block IP addresses from 8.8.8.8
  • Talk about preventing security issues associated with reverse proxies.

About

Reverse proxies are fun! There's a lot of cool things we can do. Remember, security is important!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages