Yet more backend improvements.

Security related, as usual.