![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/8286e071-7449-4413-a084-1eb5242e2cf4.png)
7·
5 months ago- Since you mentioned that speed wasn’t a concern, I would go with software raid, which would also alleviate your concerns about 1 and 2.
I think it makes sense to escape as close as possible to the context where the data will be used, see https://benhoyt.com/writings/dont-sanitize-do-escape/