Browsing: Best Practices For Secure API Design