 bool Document::IsSecureTransitionTo(const KURL& url) const {
  scoped_refptr<SecurityOrigin> other = SecurityOrigin::Create(url);
  return GetSecurityOrigin()->CanAccess(other.get());
}

The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.