I've an old Sitefinity 4.1 project that has almost 4 years of data inserted daily. I've been asked to do some management on this and one of the steps I've to performs is to avoid a user can download a file if he's not authenticated. Right now if I point to the file path it prompts me to download. Since the backend is quite slow , is there a way I can set this via API? Thanks
Protect files from download if not authenticated
31 Views Asked by advapi At
1
There are 1 best solutions below
Related Questions in SITEFINITY
- Sitefinity- Change template of a group page or redirection page
- Sitefinity - C# - Fetch user email and output it in a div
- Solr fq (Filter Query) parameter in Sitefinity CMS
- "Sitefinity Renderer Layout was created successfully" prompts but files are not added in project - [Sitefinity]
- Error [Sitefinity Nuget] Unable to load the service index for source [Progress Sitefinity]
- Control Sitefinity Cookie (Persionalization (sf-prs-ss, sf-prs-lu, sf-prs-vp, sf-prs-vu), sf-data-intell-subject)
- Sitefinity sf-html-field.sf-cshtml File
- SolrNet retrieving a field value in Sitefinity MVC view
- Sitefinity 14.4 MVC - Multiple CTA Link List Using Autogenerated Field for Designer View
- Regex expression to replace special characters except first and last character found
- How to change the default path of Sitefinity media/images/
- Sitefinity: How to turn on/off sf-trckngckie cookie?
- Unlock shared content blocks in Sitefinity API
- How to render aria-label in sitefinity webform widget
- How can you access SiteFinity DigitalConfig variables on a SiteFinity page?
Related Questions in SITEFINITY-4
- Sitefinity WebService -Odata
- Unable to access using windows authentication on Telerik Sitefinity 4.1
- Protect files from download if not authenticated
- Is there a way to prevent the contentplaceholder's ID from affecting child ID's in ASP.NET?
- Sitefinity 4+ -- Standardizing intra-site modules in Sitefinity 4-5.x
- Extensionless URL settings in Sitefinity 4.x and above
- sitefinity get docs from module
- Sitefinity - Validating Custom Form Field
- Sitefinity widget Object reference not set to an instance of an object
- Sitefinity: Need to make a PDF available on a very specific URL but can't do it
- Creating Title String in sitefinity
- Sitefinity 4.3 A/B Testing
- How do you integrate a RadEditor control into a Sitefinity custom designer?
- How do you add an image picker into a Sitefinity custom widget editor?
- Handling an adding new item event in Sitefinity dynamic module
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Surely, you can achieve this using the Fluent API, more info: http://docs.sitefinity.com/for-developers-modify-permissions-of-dynamic-content-items-using-the-fluent-api. Needless to say, if you want to avoid the quite slow backend you definitely need to upgrade to latest version of the CMS.
Hope this helps!