![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.wtf/api/v3/image_proxy?url=https%3A%2F%2Flemmy.world%2Fpictrs%2Fimage%2F8286e071-7449-4413-a084-1eb5242e2cf4.png)
7·
3 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/