Hmm, not sure this would add very much, but on the other hand could indeed as Ray points out break things in unexpected ways and make life in general more complicated. If you want to add policies, I think you will be needing more than a simple env variable, i.e. something like a config file. In any case you need the cooperation of the script/program calling curl as it would be trivial to circumvent (declare -r doesn't help). In short I have my doubts. ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
Re: Idea: voluntary restricting curl (use)
Mischa Salle via curl-library Mon, 14 Jan 2019 02:07:29 -0800
- Idea: voluntary restricting curl (use) Daniel Stenberg via curl-library
- Re: Idea: voluntary restricting curl... bch via curl-library
- Re: Idea: voluntary restricting ... bch via curl-library
- Re: Idea: voluntary restricting curl... Dan Fandrich via curl-library
- Re: Idea: voluntary restricting curl... Sean Burford via curl-library
- Re: Idea: voluntary restricting curl... James Fuller via curl-library
- Re: Idea: voluntary restricting curl... Ray Satiro via curl-library
- Re: Idea: voluntary restricting ... Daniel Stenberg via curl-library
- Re: Idea: voluntary restrict... Mischa Salle via curl-library
- Re: Idea: voluntary rest... Daniel Stenberg via curl-library
- Re: Idea: voluntary... Mischa Salle via curl-library
- Re: Idea: voluntary... James Fuller via curl-library
- Re: Idea: volun... Daniel Stenberg via curl-library
- Re: Idea: voluntary restricting curl... Peter Wang via curl-library