Updating file access settings
Uploaded files can be set as either public or private. If the public option is selected, the file metadata includes the "publicPath" information; otherwise, this information is not populated. Thus, you can directly access your public files using their public path (e.g., opening a browser and navigating to the public path link).
You can also specify how the browser will access the file, either inline or attachment, for public files. If the file is set as inline, the file is displayed in the browser. If it is set as an attachment, then when you navigate to the file link, the file is downloaded.
To change file access settings, you can use the Set File Access Type node, which applies the new access type settings to a file identified by the unique file id.