# Require terms before download

*Collection: Downloads, Leads & Analytics · Category: Downloads · Availability: FileDeck Pro · Canonical URL: https://www.getfiledeck.com/docs/terms-before-download/*

Some libraries can't simply hand a file over. Drawing sets carry licence
conditions, clinical guidance carries a disclaimer, research data carries a
use agreement. FileDeck Pro can put those terms in front of the download and —
the part that actually matters — record that the reader accepted them.

> **FileDeck Pro** — **Documents → Settings → Downloads → Terms before
> download**.

## Setting it up

1. Tick **Require visitors to accept terms before any download**.
2. Write the agreement in the box below it. Links are allowed, so you can
   summarise in a sentence and link to the full terms.
3. Save.

From then on, clicking any download opens a dialog with your text and a
checkbox. The file is only served after the reader agrees.

## It is enforced on the server

This is not a client-side courtesy. When the reader accepts, FileDeck issues a
short-lived token and **the download endpoint refuses without one**. Someone who
dismisses the dialog does not get the file.

Two deliberate exemptions:

- **Share links you create** ([single-use links](https://www.getfiledeck.com/docs/single-use-links/) and
  [transmittals](https://www.getfiledeck.com/docs/transmittals/)) skip the gate. You created that link for
  a named recipient — the grant was already made on your side. Every Download
  button on your pages asks, restricted documents included.
- Acceptance lasts for the visit — one hour, carried by a cookie — so a
  reader agreeing once can then download several documents, across pages and
  including bulk zips, without being asked again.

## The record is the point

Every acceptance is written to the [activity log](https://www.getfiledeck.com/docs/download-log-reports/)
as a `terms` event, with the document, the time, and the visitor (and their IP,
unless you have IP anonymising on). That is what makes it evidence rather than
decoration — you can export it to CSV alongside the download log.

## What this is not

**It records consent; it does not enforce a licence.** A document with no access
restriction still has a directly shareable file URL, so anyone who already has
that URL bypasses the dialog — the same honest caveat that applies to
[watermarking](https://www.getfiledeck.com/docs/pdf-watermarking/).

If the agreement genuinely matters, pair the terms gate with an
[access restriction](https://www.getfiledeck.com/docs/access-control-overview/) so the file is served
through FileDeck rather than sitting at a public URL. The dialog guards
downloads, not the [preview lightbox](https://www.getfiledeck.com/docs/document-preview/), so also turn
previews off where readers must agree before seeing a file at all.

## Using it with lead capture

The two work together. If both are on, the reader agrees to the terms first,
then enters their details, then the download starts. Neither gate is skipped.

## FAQ

### Can I set different terms per document or category?

Not yet — the agreement is site-wide. If you need per-category terms, say so on
the [support page](https://www.getfiledeck.com/support/); it is a natural
extension and demand decides the order.

### Does it apply to zip downloads?

Yes. Bulk zip downloads go through the same gate.

### Will search engines see the dialog?

No. The dialog only appears when a download is clicked, so it does not affect
how your library pages are crawled or indexed.
