Because we allow site security policies to apply to URLs, and not just
to hostnames, the site security policy lookup uses the longest (and,
therefore, presumably most specific) policy that matches the subject
URL.
For example, assume there are site security policies for
e-mall.com
and https://e-mall.com/store1/
.
The subject origin URLs https://e-mall.com/index.html
and https://e-mall.com/store2/
would both use the first
policy, whereas, https://e-mall.com/store1/catalog.html
would use the second.