Hacker News new | ask | show | jobs
by marcus_holmes 4617 days ago
I was immediately struck by the scary thing of putting the password in the URL:

    remote = 'https://USERNAME:PASSWORD@USERNAME.cloudant.com/DATABASE'
I know HTTPS URLs are encrypted, but it still strikes me as unsafe. What does HN think?
1 comments

This is demo code. See this comment: https://news.ycombinator.com/item?id=6612482

But it can work with cookie authentication with just a little more lines of code.