CGI | Download a PDF File lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- cpalx · 2019-09-21 14:43 Hello, i need to download PDFs Files, but that files will be in a secure place. how could i download that files? ---------------------------------------------------------------------- Leledumbo · 2019-09-24 20:57 Ask for downloadable link? Including any authorization header or any other required security mechanism, if needed. ---------------------------------------------------------------------- dbannon · 2019-09-24 22:53 https://forum.lazarus.freepascal.org/index.php/topic,46560.0.html might help you. ---------------------------------------------------------------------- cpalx · 2019-09-30 01:41 I need any mechanisc for security download, i will have a lot of pdf files, but I don't want them to be public ---------------------------------------------------------------------- Leledumbo · 2019-09-30 22:06 Quote from: cpalx on September 30, 2019, 03:41:58 amI need any mechanisc for security download, i will have a lot of pdf files, but I don't want them to be public If my hint wasn't clear enough: https://nordicapis.com/3-common-methods-api-authentication-explained/ Personally, I think with HTTPS an API key in custom header is both easy and safe enough because: you can't sniff HTTPS trafficeven if you know the custom header key, as long as you generate the value in a kind of random way and it's long enough (e.g. 256 chars of all printable characters) such that it's nearly impossible to guess until the world ends, attacker won't get it ---------------------------------------------------------------------- cpalx · 2019-10-01 00:52 thanks.