zoukankan      html  css  js  c++  java
  • WebBrowser Control(四)URL Security Zones

    • Terms
      • URL action. A browser action that can pose a security risk to the local computer.
      • URL policy. A policy that determines which permission or trust level is set for a particular URL action.
      • URL security zone. A group of URL namespaces that are assigned an equal level of permissions (or trust). Each URL action for the zone has an appropriate URL policy assigned to it that reflects the level of trust given to the URL namespaces in that zone.
      • URL security zone template. A tool that allows users to specify levels of restriction using easy-to-understand terms: High, Medium-High, Medium, Medium-Low, and Low.
    • Default URL security zones:

      • Local Intranet Zone(本地Intranet)
      • Trusted Sites Zone(可信站点)
      • Internet Zone
      • Restricted Sites Zone(受限站点)
      • Local Machine Zone(本机)
    • 结构体(urlmon.h
      •  1 typedef 
        2 enum tagURLZONE
        3 { URLZONE_PREDEFINED_MIN = 0,
        4 URLZONE_LOCAL_MACHINE = 0,
        5 URLZONE_INTRANET = URLZONE_LOCAL_MACHINE + 1,
        6 URLZONE_TRUSTED = URLZONE_INTRANET + 1,
        7 URLZONE_INTERNET = URLZONE_TRUSTED + 1,
        8 URLZONE_UNTRUSTED = URLZONE_INTERNET + 1,
        9 URLZONE_PREDEFINED_MAX = 999,
        10 URLZONE_USER_MIN = 1000,
        11 URLZONE_USER_MAX = 10000
        12 } URLZONE;
    • 参考:
  • 相关阅读:
    星球基地
    手机评价
    2018
    mongoDB(Window)
    linux
    【整理】Java 11新特性总结
    【整理】Java 10新特性总结
    【整理】Java 9新特性总结
    【整理】Java 8新特性总结
    Java -- 内部类(二)
  • 原文地址:https://www.cnblogs.com/dahai/p/2216222.html
Copyright © 2011-2022 走看看