What is the most broad P3P header that will work with IE?

前端 未结 3 813
陌清茗
陌清茗 2020-12-23 14:49

\"Medium Security\" in IE8 states that third-party cookies that save information that can be used to contact you without your explicit consent are blocked.

3条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-23 15:17

    From my tests, any of these P3P attributes will prevent IE8 from saving a 3rd party cookie:

    CON, TEL, PHY, ONL, FIN, GOV

    CON

    Information may be used to contact the individual, through a communications channel other than voice telephone, for the promotion of a product or service. This includes notifying visitors about updates to the Web site.

    TEL

    Information may be used to contact the individual via a voice telephone call for promotion of a product or service.

    PHY

    Information that allows an individual to be contacted or located in the physical world -- such as telephone number or address.

    ONL

    Information that allows an individual to be contacted or located on the Internet -- such as email. Often, this information is independent of the specific computer used to access the network. (See the category COM)

    FIN

    Information about an individual's finances including account status and activity information such as account balance, payment or overdraft history, and information about an individual's purchase or use of financial instruments including credit or debit card information.

    So don't include them if you want IE8 not to block you. I found the following flags to be the most broad, legalese wise, while still functioning well with IE:

    NON DSP LAW CUR ADM DEV TAI PSA PSD HIS OUR DEL IND UNI PUR COM NAV INT DEM CNT STA POL HEA PRE LOC IVD SAM IVA OTC

提交回复
热议问题