I managed to solve using cookies, but as you said, it is not secure. Although I have no experience, I managed to bypass the control. Maybe it's not the safest way like I did, in any case it is not recommended to proceed in this way. I have experience with auth_basic, but using the terminal to create user and password and to grant access. Too many different information in this topic that Iby MAXMAXarena - Nginx Mailing List - English
Hi, thanks again for the reply. HOW I want to block I don't know, I am on this forum for this reason. I thought I was clear, I don't know how to explain it in different words. I want to prevent the user from downloading the file without being logged on my site. The user MUST BE ABLE to download the file from the article pages when LOGGED. If the user is NOT LOGGED, he cannot download theby MAXMAXarena - Nginx Mailing List - English
j94305 Wrote: ------------------------------------------------------- > 2. You use a session context: whenever a page validly serving a link > to a certain content is delivered, you set a cookie. Retrievals to > files require the cookie to be present. No cookie, no access. > > Cheers, > --j. Hi, the second option seem interesting and relatively "simple" solutby MAXMAXarena - Nginx Mailing List - English
Thanks for all this information, I try to study and apply what you told me.by MAXMAXarena - Nginx Mailing List - English
Hi, thank you for your help, but as I said, being an expert, I have difficulty understanding certain things. If you know how to solve my problem, a small example would help me.by MAXMAXarena - Nginx Mailing List - English
Hello @Ralph Seichter, what do you mean by "mutually exclusive"? As for the tools I mentioned, it was just an example. Are you telling me I can't solve this problem? Hello @garic, thanks for this answer, it made me understand some things. But I don't think I understand everything you suggest to me. Are you suggesting me how to make the link uncrawlable, but how to block direcby MAXMAXarena - Nginx Mailing List - English
Good evening, I would like to block direct access to files in a folder on my site, but allow downloading from the site. Specifically, I want to be able to download a file from the site's html tag: <a href="/assets/file/test.txt" download=""> Download TXT </a> But do not allow direct access and download, using the browser or other tools such as curl or wgetby MAXMAXarena - Nginx Mailing List - English