Hi @leo_devin - I feel your pain, as do many instructors at my own institution that have had similar things happen to them. Frankly the best way to 100% avoid thisis to simply disable the Files menu item altogether from student view via Settings and then clicking the Navigation tab at the top of the settings screen. I do this myself when I teach, and it has been a life-saver for this very reason. Naturally, this may be a bit too major a step for some instructors who are otherwise used to having students head directly to the Files area to get material, since it involves creating links to each and every file somewhere on a page, assignment, module etc., that students are directed to.
But if this happens a lot to people, they may prefer the security of hiding the Files menu area over the hassle of having to set permissions immediately otherwise....which, frankly, is about the only way to otherwise control this, as you surmised.
The other possibility is placing these files as a first step into a folder that has not been published. If a folder is not published, students will not see anything in that folder. HOWEVER, that will still involve--when the test is ready to be deployed--putting the file in another area later, since any file--even if it is linked to--in a folder which is not published will NOT be able to be seen by students or downloaded at all. (Students will get the message that the folder is locked.)
Hope this helps a bit, Leo.
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.