Using whitelist instead of blacklist for path filter