2 ms·
Well, you should be using `httpOnly` cookies (i.e. unusable from the browser) and setting them from the server. Your browser client will automatically send them
by hombre_fatal 7y ago
Well, you should be using `httpOnly` cookies (i.e. unusable from the browser) and setting them from the server. Your browser client will automatically send them.
document.cookie is a security vulnerability that's hard to find in any respectable documentation. It's up there with sql string concatenation.
- jfkebwjsbx 7y agoSQL string concatenation is fine. You mean parameter concatenation (into the query string).
- hombre_fatal 7y agoCall it whatever you want, but everyone knows what "SQL string concatenation" is referring to wrt injection. I don't think a finer point is necessary.