Subscription Required

برای مشاهده این درس نیاز به خرید اشتراک دارید.

با خرید اشتراک به قابلیت نمایش آنلاین و دانلود بیش از 1500 جلسه آموزشی منتشر شده در وبسایت Laracasts دسترسی خواهید داشت.

درس قبلی
Sanitizing is a Must

Sanitizing is a Must

Sanitizing is a Must

قسمت 101
درس بعدی

درباره این درس

When building web applications, always assume that the user is malicious. As such, any time you accept and display user input, sanitize it first. Think of this as the equivalent of throwing their input into a sink filled with soapy water. The goal is to clean that HTML as best as we can. Scrub it down in preparation for display. Script tag? Sorry, but no. Inline styles? See ya. Click event handlers? Hell no. View the source code for this episode on GitHub.
دیدگاه های کاربران

× در حال پاسخ به: