Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted July 24, 20195 yr For the IPS Download addon, one can upload files and "upload" external url's (link to them in fact). Is there a way to restrict uploads to url's only? So they can't upload files to the file system but only upload url's?
July 29, 20195 yr Community Expert On 7/24/2019 at 7:42 PM, Black Tiger said: Is there a way to restrict uploads to url's only? So they can't upload files to the file system but only upload url's? No.
July 29, 20195 yr 6 minutes ago, Black Tiger said: That's a pity. Would be nice if there was one. add this to your custom.css and it will hide the progress bar and upload form div#elDownloadsSubmit_uploader.ipsClear { display: none; } div#elDownloadsSubmit_progress.ipsClear { display: none; } leaving only the add url button
July 29, 20195 yr Community Expert 6 minutes ago, TheJackal84 said: add this to your custom.css and it will hide the progress bar and upload form div#elDownloadsSubmit_uploader.ipsClear { display: none; } div#elDownloadsSubmit_progress.ipsClear { display: none; } leaving only the add url button You still need a plugin, otherwise the user can upload a new version. Even if you hide via CSS the warning, it's accessible via URL:: ...index.php?/files/file/2-fgsdfs/&do=newVersion Uploading a new verison, user can edit again the file, remove the URL and leave only the uploaded file.
July 29, 20195 yr 1 minute ago, Adriano Faria said: You still need a plugin, otherwise the user can upload a new version. Even if you hide via CSS the warning, it's accessible via URL:: ...index.php?/files/file/2-fgsdfs/&do=newVersion Uploading a new verison, user can edit again the file, remove the URL and leave only the uploaded file. could probably hide that setting via css too?
July 29, 20195 yr Community Expert 4 minutes ago, TheJackal84 said: could probably hide that setting via css too? 4 minutes ago, TheJackal84 said: Even if you hide via CSS the warning, it's accessible via URL:: ...index.php?/files/file/2-fgsdfs&do=newVersion You can probably hide the upload from that screen too. Anyway, I really don't like to rely in templates/CSS edits since this is tied to the theme. If you have more than one and forget to make it all themes, you failed.
July 29, 20195 yr Author Thank you both, but I rather keep custom.css to a minimum if possible as it's not a really important thing for me. Sometimes things can get passed such hide option indeed. At this moment I used the setting of maximum file size to 1 kb and used the "approve" option. Works nicely too as a workaround.
Archived
This topic is now archived and is closed to further replies.