A computer system and media for generating previews for protected
electronic documents are provided. The computer system provides servers
that receive rules corresponding to the protected electronic documents
from owners of the protected electronic documents. The rules specify
quantity and quality of each interaction, by client devices, with each
protected electronic document. Additionally, the servers receive queries
having query terms from the client devices. In response, the servers
generate previews for the protected electronic documents that match the
query. The previews are generated and transmitted to the client devices
based on the rules stored by the servers.