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;
    • 参考:
  • 相关阅读:
    相对嵌套布局
    转:Android控件属性
    layout_weight属性分析
    Node.js 中文乱码解决
    转:正则表达式30分钟入门
    转: 再谈select, iocp, epoll,kqueue及各种I/O复用机制
    多线程调试
    GDB调试增强篇
    GDB调试
    笔趣阁
  • 原文地址:https://www.cnblogs.com/dahai/p/2216222.html
Copyright © 2011-2022 走看看