انتقل إلى المحتوى
أمين أبوزيد
درس مخطط لهJNR-042-L02

HTTPS وترويسات الأمان

  • الدرس 2 من 6
  • Junior
في هذا الدرس 4 موضوعات

هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.

نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.

في هذا الدرس

force encrypted transport and add protective headers.

الموضوعات المخطط لها

  • HTTPS encrypts traffic; usually terminated at a reverse proxy or load balancer.
  • Redirect HTTP to HTTPS, and send HSTS (Strict-Transport-Security) so browsers insist on HTTPS.
  • Spring Security adds several headers by default, such as X-Content-Type-Options: nosniff and cache controls.
  • Add a Content-Security-Policy suited to your responses, and Referrer-Policy where relevant.
  • Behind a proxy, configure forwarded headers so Spring knows the request was HTTPS (verify the property for the version).
تفاصيل المخطط المبدئي

عرض عملي

a response header list with Strict-Transport-Security: max-age=31536000; includeSubDomains.

اختبر فهمك

What does HSTS tell the browser?

أظهر الإجابة

Always use HTTPS for this site.

التطبيق

طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.

المختبر والتمارين الاختبار

تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.

اكتب للبحث في المستويات والمراحل والوحدات والدروس.