A PDF document can contain files as attached documents or files.

Select the input document with the "Select input PDF file" button. This will be the PDF file you will take as base.
Select the result file (which will contain the attached files) with the "Select output PDF file" button.
Add file to the attach list by using the "Add file"
button.
If you would like to remove a file from the attach list, use the "Remove file"
button.
Use the "Save as WWF" checkbox if you would like to save the result document in WWF format.
You can create the new PDF document and attach the files to it by pressing the "Go" button.
The attached files can be any type, however you should consider some security and usability issues. Don't attach executables or scripts which can compromise the opener's computer. Also don't attach files which most probably won't open on the opener's computer, because he/she does not have the necessary program or environment.
This function is valuable when you would like to attach PDF files to a PDF file (like a main document and addendums or more details) or if you attach description or data files (like schema files or XML data).
If the program finds that the PDF file is password protected, it will ask for the password and can not attach files until the password is provided.
Please be aware that the new file won't be password protected!
This function is only available in PDFToolBox and PDFAttach!