From 39970864784bb3c695391a9734262e913455c841 Mon Sep 17 00:00:00 2001
From: Matt Garrish MUST support [[truetype]],
- [[opentype]], [[woff]], and [[woff2]] font resources referenced from
- The DAISY Consortium maintains an accessibility test suite
to aid in evaluating these issues and more. The particularity of an [=EPUB publication=] is its structure. The EPUB format provides a means of
@@ -2208,13 +2208,14 @@ The greatest threats to users come from the content they
read [[epub-33]], and the first line of defense against these attacks is the reading systems
they use. Users expect that reading systems act as safeguards against malicious content and are
- often unaware that EPUB publications are susceptible to the same security risks as web sites.Cascading Style Sheets (CSS)
@font-face
rules
+ [[opentype]], [[woff]], and [[woff2]] font resources referenced from @font-face
rules
[[css-fonts-4]].Accessibility
Security and privacy
- Overview
Overview
Threat model
But although reading systems are relied on to provide security and privacy, they can also pose unintended threats to users depending on how information is handled. Tracking user information to @@ -2238,6 +2239,9 @@
EPUB publications may contain resources designed to exploit security flaws in reading systems or the operating systems they run on.
+The lack of a standard method of signing EPUB publications means that reading systems cannot + always verify whether the content has been tampered with between authoring and loading in + the device.
The strongest measure that reading system developers can take for privacy is to specify the data they intend to collect and use about the user and/or their reading behavior and seek the consent of users - to obtain it. They should also allow personalization and control over this information.
+ to obtain it. They SHOULD also allow personalization and control over this information.If a reading system allows users to store persistent data, especially personally identifiable - information, it must treat that data as sensitive.
+ information, it SHOULD treat that data as sensitive and not allow access to it by third parties.It is understood that the collection of some user data may be required for the sale, delivery, and operation of an EPUB publication, particularly on platforms where the sale of an EPUB publication - and the method of reading it are connected. In these cases, it is recommended that the reading - system or retailer be clear about the data being collected, how it is used, and allow for user - opt-outs where possible. Anonymization of data is strongly recommended for the privacy and the - security of the user and reading system.
+ and the method of reading it are connected. In these cases, the reading system SHOULD identify the + data being collected, how it is used, and allow for user opt-outs (retailers may choose to inform + users by other means, however, such as when a user creates an account on their web site). + Anonymization of any collected data is strongly RECOMMENDED for the privacy and the security of the + user and reading system.It is also understood that user data may be required or helpful for some reading system affordances. - In these cases, anonymization is strongly recommended. It is also recommended that reading systems - inform users of what data is needed, what it is to be used for, and to provide methods to - opt-out.
+ In these cases, anonymization is also strongly RECOMMENDED. Reading systems also SHOULD inform users + of what data is needed, what it is to be used for, and to provide methods to opt-out.Content processors — defined as entities that handle the ingestion of EPUB content for - distribution, display, or sale — should also be aware of the potential risks in ingestion. It + distribution, display, or sale — also need to be aware of the potential risks in ingestion. It is advised that content processors check content for malicious content on ingestion, in addition to the validation steps that usually occur. This could include running virus scans, validating external links and remote resources, and other precautions.
+ +Reading systems that allow users to load untrustworthy EPUB publications (e.g., unsigned EPUB + publications through the process of "sideloading") SHOULD treat such content as insecure (e.g., + prompt users to allow scripting and network access).
The particularity of an [=EPUB publication=] is its structure. The EPUB format provides a means of @@ -9257,7 +9257,7 @@
EPUB publications pose a variety of privacy and security threats to unsuspecting users. Many of these @@ -9392,7 +9392,7 @@
Although EPUB creators cannot prevent every method of exploiting users, they are ultimately - responsible for the secure construction of their content. That means that they should take + responsible for the secure construction of their content. That means that they need to take precautions to limit the exposure of their EPUB publications to the types of malicious exploits described in the previous section.
@@ -9414,27 +9414,27 @@EPUB creators also need to consider the privacy rights of users and avoid situations where they are - intentionally collecting data. Ideally, EPUB creators should not track their users, but this is not + intentionally collecting data. Ideally, EPUB creators SHOULD NOT track their users, but this is not realistic for all types of publishing.
-When tracking must occur, EPUB creators should obtain the approval of the user to collect information - prior to opening the EPUB publication (e.g., in educational course work). If this is not possible, - they should obtain permission when users access the EPUB publication for the first time. EPUB - creators should also allow users to opt out of tracking, when feasible, and provide users the - ability to manage and delete any data that is collected about them.
+When EPUB creators have to track users, they SHOULD obtain the approval of the user to collect + information prior to opening the EPUB publication (e.g., in educational course work). If this is not + possible, they SHOULD obtain permission when users access the EPUB publication for the first time. + EPUB creators SHOULD also allow users to opt out of tracking, and provide users the ability to + manage and delete any data that is collected about them.
-Content authors also need to consider the inadvertent collection of information about users. Linking - to content on a publisher's web site, or remotely hosting resources on their servers, can lead to +
Content authors also SHOULD avoid inadvertent collection of information about users. Linking to + content on a publisher's web site, or remotely hosting resources on their servers, can lead to profiling users, especially if unique tracking identifiers are added to the URLs.
-When publishers and vendors must use digital rights management schemes, they should prefer schemes +
When publishers and vendors have to use digital rights management schemes, they SHOULD prefer schemes that do not utilize or transmit information about the user or their content to external parties to perform encryption or decryption.
EPUB creators who want to maximally limit the privacy and security issues in their EPUB publications - should work to make the content as self-contained as possible. An EPUB publication that comes with - all its needed resources and has no dependencies on network access or links to external content not - only benefits users but reduces future maintenance and improves archivability.
+ SHOULD make the content as self-contained as possible. An EPUB publication that comes with all its + needed resources and has no dependencies on network access or links to external content not only + benefits users but reduces future maintenance and improves archivability.The authoring of accessible content does not introduce any new privacy or security considerations for @@ -1656,16 +1656,16 @@
Even in the case where a user assents to the application maintaining information about their - accessibility needs, developers must ensure that this information is kept private (e.g., it must not be - shared with third party advertisers or even with the original publisher).
+ accessibility needs, developers SHOULD ensure that this information is kept private (e.g., not share the + information with third party advertisers or even with the original publisher). -Developers should also be mindful about storing or mining information about the types of searches a user - performs when searching for content based on its accessibility characteristics. This information can be - used to indirectly profile the abilities of users.
+Developers SHOULD NOT store or mine information about the types of searches a user performs when + searching for content based on its accessibility characteristics. This information can be used to + indirectly profile the abilities of users.
If reading system developers allow network access, it is strongly RECOMMENDED both that they:
+If reading system developers allow network access, it is RECOMMENDED both that they:
- Reading systems MUST support playback for - [=XHTML content documents=], and + Reading systems MUST support playback for [=XHTML + content documents=], and MAY support [=SVG content documents=].
@@ -1764,12 +1764,12 @@When presented with a media overlay
- audio
element, reading systems MUST play
- the audio resource referenced by the src
attribute, starting at the clip offset time
- given by the clipBegin
attribute and
- ending at the clip offset time given by the
- clipEnd
attribute [[epub-33]].
When presented with a media overlay audio
element, reading systems MUST
+ play the audio resource referenced by the src
attribute, starting at the clip
+ offset time given by the clipBegin
+ attribute and ending at the clip offset time given by the clipEnd
attribute [[epub-33]].
In addition:
@@ -1829,13 +1829,13 @@