peacemaker Expert Licensed User Longtime User Oct 14, 2022 #1 HI, All Possible HTTP downloading file with login\password ?
hatzisn Expert Licensed User Longtime User Oct 14, 2022 #2 Why don't you add username and password encrypted as headers and handle the headers in the receiving part? Upvote 0
Why don't you add username and password encrypted as headers and handle the headers in the receiving part?
peacemaker Expert Licensed User Longtime User Oct 14, 2022 #3 Hmm, indeed, no problem to do as both sides can. So, question is how server side can Upvote 0
hatzisn Expert Licensed User Longtime User Oct 14, 2022 #4 For server side which language do you use? Upvote 0
hatzisn Expert Licensed User Longtime User Oct 14, 2022 #5 You can make a request like https://www.mysite.com/app?fileid=1 with the prementioned headers. On server side validate credentials and identify the file by the fileid (or whatever you use). Set the response type to application/content-stream read the file and write its bytes to the response. Upvote 0
You can make a request like https://www.mysite.com/app?fileid=1 with the prementioned headers. On server side validate credentials and identify the file by the fileid (or whatever you use). Set the response type to application/content-stream read the file and write its bytes to the response.