There are many extension available which can let you control the component accessibility.
You can check JED for this.
If you wish you have something which is minimalist and do the necessary then you can create your own plugin to handle this.
Joomla plugin creation is quite simple.
Below are some of the reference which you can refer for plugin development help.
Plugin Development
Joomla Events
Creating a Plugin for Joomla
All you need to do is fetch the option and view parameters on
onAfterRoute trigger in your plugin and validated whether to pass this request or block.
Like below
public function onAfterRoute()
{
$option = JFactory::getApplication()->input->get('option', '');
$view = JFactory::getApplication()->input->get('view', '');
//Apply your logic here
}