Disable file upload in rstudio

Hi

I need to disable File upload feature on RStudio. So that, users wont be able to bring external datasets or random files into RStudio. Can you help me on how to achive this please?

Version details

RStudio Server
2024.12.1 Build 563

R version details

R.version
_
platform x86_64-redhat-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 4
minor 5.1
year 2025
month 06
day 13
svn rev 88306
language R
version.string R version 4.5.1 (2025-06-13)

Attachment

In RStudio Server Pro (part of Posit Workbench) you can add allow-file-uploads=0 to /etc/rstudio/rsession.conf to accomplish this, but unfortunately this setting isn't available in the open-source version of RStudio.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.