You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to be able to restrict the file types uploaded by users to Box (we want to avoid exe or cmd files to uploaded for example).
I understand that I can check this in the callback once the upload is done and then remove the file. This solution could work, however that requires the file to be sent first.
Are there other solutions to restrict this earlier in the process on the client side? Or having Box backend to handle that?
If you could send your application's enterprise ID to preview-team@box.com, I'd love to get you in touch with Box Consulting, since they'll be better equipped to help you out with implementation.
The other thing, if you want, we can mark your issues as enhancements and open up for pull requests for the issues you're seeing.
I need to be able to restrict the file types uploaded by users to Box (we want to avoid exe or cmd files to uploaded for example).
I understand that I can check this in the callback once the upload is done and then remove the file. This solution could work, however that requires the file to be sent first.
Are there other solutions to restrict this earlier in the process on the client side? Or having Box backend to handle that?
Would it be possible to add an option to pass an array of accepted file extensions which would then be applied on the input? https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input/file#Limiting_accepted_file_types
The text was updated successfully, but these errors were encountered: