Skip to content

pmattiollo/coding-task-for-candidate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coding-task

Story

Your company has a problem with users of your HTTP API. Some of them have tried to hack your system, but fortunately your security department has stopped them in time. In effect you were given a list of attackers IP's in order to block them. Security team did good job, but you need to take into account that the list that they gave you will grow in the future since there are a lot of malicious hackers in the Internet.

Based on the input from the security team you have decided to create some kind of firewall. Think about possible solutions under the following assumptions:

  • there is a predefined list of IP's that should be blocked
  • you would like to add and remove IP's from black list without restarting the application
  • firewall is a small part of whole application - focus on it and not on the whole system.

What's more, one of the previous developers has been already trying to implement the firewall but he has not finished. Take a look at his implementation. Maybe you will find something useful.

Before interview

Please make sure:

  • repository is cloned to your machine
  • project is set up in you favorite IDE
  • project is building properly
  • solution for described story is implemented

Important!!!

Don't use any frameworks, orm's or any additional libraries in your implementation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages