Is it a security vulnerability to tell a user what input characters are valid/invalid?

For input validation on a website, are there any security concerns with disclosing to the user exactly what characters are valid or invalid for a given field?
CWE-200: Information Exposure says one should try not to disclose information &q… Continue reading Is it a security vulnerability to tell a user what input characters are valid/invalid?

Which symbols can I whitelist to remain safe against SQL injection, XSS, and all other injections attacks?

I have an input field in a web that is being saved. This field can be shown in other systems that I do not have control over and that’s why I would like to limit what is allowed in this field, although I would like to allow s… Continue reading Which symbols can I whitelist to remain safe against SQL injection, XSS, and all other injections attacks?

Is it possible to crack a CRC value for short text validation when someone tries to change a readable text?

I’d like to validate message texts with CRC-8/16/32 but I’m afraid that they could be changed to another one (for example, adding a “No” at the beginning). There will be no special characters besides the usual ones (? , . ; ª… Continue reading Is it possible to crack a CRC value for short text validation when someone tries to change a readable text?