Run Firefox under a different user account, with limited access to the system. Problem solved.
Firefox isn't built to understand that concept, so it takes more than just denying it write privledges to solve.
Run Firefox under a different user account, with limited access to the system. Problem solved.