Download at the top gives you a choice: PDF with your marks (PDF with your changes once pages are organized, a form is filled in, text or pictures are changed, something is redacted or scanned pages are made searchable), the original PDF, or Download a copy.
PDF with your marks writes each mark as a standard PDF comment, and each reply as a reply in its thread, so other PDF readers show them and can answer them. The pages themselves aren’t changed, and comments already in the PDF stay as they were.
Download a copy makes the PDF with your changes, and can also leave out hidden details (who made it, attached files, scripts, other readers’ comments), make the file smaller, and ask for a password to open it. Pick any of them.
Make the file smaller saves photos again at a lower quality, up to 2000 dots across, and packs the rest tighter. Words, drawings and see-through parts stay as they are. Folio UI says how much smaller it got.
Ask for a password to open it locks the copy with AES-256, which every PDF reader understands. Type the password twice. Folio UI doesn’t keep it, so nobody (Folio UI included) can open the copy without it.
A PDF that came with a password downloads with your changes too: the password it opened with comes off the download. Add one again with Download a copy if you need it.
Everything here happens on your device. The PDF isn’t sent anywhere to be made.