When in Student Preview mode, permissions for file attachments are based on the instructor role, not the student.
This can cause problems if, for example, you are testing presentations created in Adobe Presenter. You will be able to view the files in student preview, but have no guarantee that your students will be able to.