How to protect and let to download a purchased file by URL in the current session? Net Core 6.
Volk Volk
571
Reputation points
Hi!
I have a Ckeditor field with text on my page (the page is protected by authorization). There is a reference to the controller method in the text. How do I return a file for download from this method after some checks within the current session of an authorized user (so that no one can download this file without authorization and additional verification in the controller method).
Thanks!