Add access restriction
Merge pull request #970 from romainneutron/host-configuration-access-restriction

[3.9] Add access restriction based on host configuration