It Is Risky Business: Three Essays On Ensuring Reliability, Security And Privacy In Technology-Mediated Settings