உள்ளீட்டு சரிபார்ப்பு — பயனர் உள்ளீட்டு எதிர்பார்க்கப்பட்ட அளவுகোলுக்கு பொருந்துகிறதா என்பதைச் சரிபார்ப்பு அதை செயல்படுத்துவதற்கு முன் — ஒரு அடிப்படை பாதுகாப்பு நடைமுறை. தாக்குதல்கள் பெரும்பாலும் தீங்கிழைக்கும் உள்ளீட்டு மூலம் வருவதால், உள்ளீட்டைச் சரிபார்ப்பு (மற்றும் சுத்திகரிப்பு) பல பாதிப்புகளைத் தடுக்க உதவுகிறது. ஒரு மূல கொள்கை: பயனர் உள்ளீட்டை ஒருபோதும் நம்பாதீர்கள்.
பயனர் உள்ளீட்டை ஒருபோதும் நம்பாதீர்கள்
ALL input from outside (users, APIs, files, requests) is UNTRUSTED — it can be malicious:
→ attackers send crafted input to exploit vulnerabilities (injection, XSS, etc.)
→ "never trust the client" — input can be anything, including attacks
→ Validate and handle ALL external input as potentially hostile.
