Hi,
To provide only the relevant links to someone, you're going to have to create their links on the fly and link them through some download script rather than directly to the PDF or MP3 e.g.
download.php?customer=customer_id&filename=databas e_id
You can use this to check that they're a valid customer and/or have a right to download a file and if so, then serve up the content.
PHP: Hypertext Preprocessor has examples of how to change the header content to allow this e.g.
<?php
// We'll be outputting a PDF
header('Content-type: application/pdf');
// It will be called downloaded.pdf
header('Content-Disposition: attachment; filename="downloaded.pdf"');
// The PDF source is in original.pdf
readfile('original.pdf');
?>
This way no one can actually link to the files or share links etc as the files are only made accessible when they've been called through a valid link and session.
Cheers,
Niggle