How to filter to show visits to your website domain

Hi,
Is there a similar feature in Piwik that allows me to filter/validate to only track the traffics coming from specific domain ?
Similar to the feature highlighted in this article in GA : Google Analytics filter to show visits to your website domain

This is to prevent the traffics from being ‘spoofed’ or ‘corrupted’ accidentally by wrongly placed the piwik tracking code in another website for eg.

Thanks.

please see this feature request: New website setting: Only track visits and actions when the action URL starts with one of the above URLs · Issue #588 · matomo-org/matomo · GitHub