I know maybe there's question about validation in client or server. but this one for Enterprise applications such as Sales, Clients systems
Should the input validation like number, strings, dates be in client-side ? or strongly be in both ? or in server-side only.
Reason of asking is :
In server-side validations example( Check for branch if exists, check if Store Exists. no problem happened at these scenarios because its server-side already. ) i don't speak about these points ( which related to Database things )
Again. sorry for asking question as this. but please give opinions from people who works on Enterprise solutions will help me to take a choice.
Always validate all user data on the server side. Like in ALWAYS and ALL .
Client side validation is only for UX.
Edit: added all
PS: You can't trust the user
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.