Instead of using basic or digest authentication for downloads, can the service create a certificate for the client to download for authenticated downloads? Keygen can be used, for example, although it would be easier to "Save Certificate".
After the user has a certificate, the user can then download "foobar.png" via cURL. Perhaps so:
curl -E mycert.pem -F "fileupload=@foobar.png" http://example.com/secure-upload.php
Does anyone set up a similar circuit? I'm not sure if this is possible, since the switch -Ein the man page does not mention POST. Also I do not know how to configure the httpd service for certificate authentication. Hope this is just an Apache SSL directive .
source
share