Defending against browser based data exfiltration attacks