Hello,
A few years ago, I wrote an application for our internal use. It is an API that I would now like to extend functionally. As it was previously only for us and was running on our own intranet, I hadn't implemented any authentication at that time. Every query was answered, no matter where it came from.
Now the question of authentication come up and I'm still at the very beginning without any substantial ideas. On the one hand, I fear that the additional transmission of Salt+Hash and the server-side handling of many requests will have an effect on response times, but that's just a feeling that I can't yet substantiate. On the other hand, I also wonder if I can't just save the client's IP as authorized after successful authentication, because the leasetime for DHCP assignment is usually longer than 24 hours.
When using IPs, I only have to look it up in a list as it is already part of the transaction. Transferring the hash would easily double the amount of data for each transaction.
I am now looking for arguments and ideas ...
Thank you very much !