Skip to content

Get Africoders on your phone

Challenge Explore
Abdulfatai

@abdulfatai

journal

One mistake developers make:

0 replies 10 views

One mistake developers make: Trusting frontend validation too much. You add: - Required fields - Email validation - Password rules - Input limits - Disabled buttons Everything looks secure. But a user can still bypass all of that. They can send requests directly to your API without using your frontend. That means your backend still needs to validate: - Input types - Required fields - Permissions - Authentication - Data limits - Business rules Frontend validation is for a better user experience. Backend validation is what protects your application. Never assume the frontend will always send the right data.
View passport
Reply

Replies

0 replies

Sign in to reply.

No replies yet

Be the first to continue this conversation.