Concerns to keep in mind
Depending on what you are asking your students to do, they may NEED to copy and paste materials or reference files like PDFs or upload their own. Do NOT use this setting if you may need these sorts of references and/or consider building key context from a document into the quiz question as plain text.
This is not perfect security and cannot compare to a fully proctored environment, there is a limit on how much a web browser can limit on a personal computer. It will NOT prevent use of other devices like taking pictures with their phone and may not even prevent screenshots from being taken of quiz content
Pair or replace this method with another option to make cheating less worth-while/easy-to-do by Mixing It Up and creating manual variants on a question or using Calculated questions. Do not provide or point students to external files but place the needed information in the question as inline text.