(1) An operator shall not knowingly:
(a) Engage in targeted advertising on the operator's site, service, or application or targeted advertising on any other site, service, or application if the targeting of the advertising is based on any information, including covered information and persistent unique identifiers, that the operator has acquired because of the use of that operator's site, service, or application for elementary, middle, or high school purposes;
(b) Use covered information, including persistent unique identifiers, created or gathered by the operator's site, service, or application to amass a profile about a student except in furtherance of elementary, middle, or high school purposes. Amassing a profile does not include the collection and retention of account information that remains under the control of the student, the student's parent or guardian, or the elementary school, middle school, or high school;
(c) Sell or rent a student's covered information. This subdivision does not apply to (i) the purchase, merger, or other type of acquisition of an operator by another entity if the operator or successor entity complies with this section regarding such covered information or (ii) a national assessment provider if the provider secures the express written consent of the student or parent or guardian of the student given in response to clear and conspicuous notice that access to covered information shall only be provided for purposes of obtaining employment, educational scholarships, financial aid, or postsecondary educational opportunities for such student; or
(d) Except as otherwise provided in subsection (3) of this section, disclose covered information unless the disclosure is made for the following purposes:
(i) In furtherance of the elementary, middle, or high school purpose of the site, service, or application, if the recipient of the covered information disclosed under this subdivision does not further disclose the covered information except to allow or improve operability and functionality of the operator's site, service, or application;
(ii) To ensure legal and regulatory compliance or protect against liability;
(iii) To respond to or participate in the judicial process;
(iv) To protect the safety or integrity of users of the site or other individuals or the security of the site, service, or application;
(v) For a school, educational, or employment purpose requested by the student or the student's parent or guardian if the covered information is not used or further disclosed for any other purpose; or
(vi) To a third party if the operator contractually prohibits the third party from using any covered information for any purpose other than providing the contracted service to or on behalf of the operator, prohibits the third party from disclosing any covered information provided by the operator with subsequent third parties, and requires the third party to implement and maintain reasonable security procedures and practices.
(2) Nothing in this section shall prohibit the operator from using covered information for maintaining, developing, supporting, improving, or diagnosing the operator's site, service, or application.
(3) An operator shall:
(a) Implement and maintain reasonable security procedures and practices appropriate to the nature of the covered information designed to protect that covered information from unauthorized access, destruction, use, modification, or disclosure; and
(b) Delete within a reasonable time period a student's covered information if the elementary school, middle school, high school, or school district requests deletion of covered information under the control of the elementary school, middle school, high school, or school district, unless a student or parent or guardian consents to the maintenance of the covered information.
(4) An operator may use or disclose covered information of a student under the following circumstances:
(a) If other provisions of federal or state law require the operator to disclose the covered information and the operator complies with the requirements of federal and state law in protecting and disclosing such covered information;
(b) As long as no covered information is used for advertising or to amass a profile on the student for purposes other than elementary, middle, or high school purposes, for legitimate research purposes as required by state or federal law and subject to the restrictions under applicable state and federal law or as allowed by state or federal law and in furtherance of elementary, middle, or high school purposes or postsecondary educational purposes; or
(c) To state or local educational agencies, including elementary schools, middle schools, high schools, and school districts, for elementary, middle, or high school purposes, as permitted by state or federal law.
(5) This section does not prohibit an operator from doing any of the following:
(a) Using covered information to improve educational products if such covered information is not associated with an identified student within the operator's site, service, or application or other sites, services, or applications owned by the operator;
(b) Using covered information that is not associated with an identified student to demonstrate or market the effectiveness of the operator's products or services;
(c) Sharing covered information that is not associated with an identified student for the development and improvement of educational sites, services, or applications;
(d) Using recommendation engines to recommend to a student either of the following:
(i) Additional content relating to an educational, other learning, or employment opportunity purpose within an online site, service, or application if the recommendation is not determined in whole or in part by payment or other consideration from a third party; or
(ii) Additional services relating to an educational, other learning, or employment opportunity purpose within an online site, service, or application if the recommendation is not determined in whole or in part by payment or other consideration from a third party; or
(e) Responding to a student's request for information or for feedback without the information or response being determined in whole or in part by payment or other consideration from a third party.
(6) This section does not:
(a) Limit the authority of a law enforcement agency to obtain any content or covered information from an operator as authorized by law or under a court order;
(b) Limit the ability of an operator to use student data, including covered information, for adaptive learning or customized student learning purposes;
(c) Apply to general audience Internet websites, general audience online services, general audience online applications, or general audience mobile applications, even if login credentials created for an operator's site, service, or application may be used to access those general audience sites, services, or applications;
(d) Limit service providers from providing Internet connectivity to schools or a student and his or her family;
(e) Prohibit an operator of an Internet website, online service, online application, or mobile application from marketing educational products directly to parents if the marketing did not result from the use of covered information obtained by the operator through the provision of services covered under this section;
(f) Impose a duty upon a provider of an electronic store, network gateway, marketplace, or other means of purchasing or downloading software or applications to review or enforce compliance with this section on those applications or software;
(g) Impose a duty upon a provider of an interactive computer service to review or enforce compliance with this section by third-party content providers; or
(h) Prohibit a student from downloading, exporting, transferring, saving, or maintaining his or her own student data or documents.