How to restrict the upload of binary/script/archive file

169 views
Skip to first unread message

Raghu Sharan

unread,
Mar 14, 2024, 4:47:45 PM3/14/24
to DSpace Technical Support
Hi,

We have recently deployed Dspace 7.6.1 in our library. While creating new item, we want to allow upload of some specific file format only while other file-formats (such as .exe, .dll, com, .sql, .ear, .war etc) should be restricted from upload. How can we achieve this? Can we do this by configuration change? Please help us with steps to follow.

Thanks

Victorhugo Bisangwa

unread,
Mar 15, 2024, 6:01:37 AM3/15/24
to DSpace Technical Support
Hi Raghu,

Are you using a reverse proxy in your configuration. If you are using a reverse proxy such nginx, you can  restrict file upload based on extensions using it.


Regards,
Reply all
Reply to author
Forward
0 new messages