К содержимому
learnspaceYOUR NEXT CHAPTER
ПРОСТРАНСТВО ОБУЧЕНИЯ
ГлавнаяКаталог курсовМоё обучениеCoursera

Знания без границ

Учитесь у лучших университетов и компаний мира.

Открыть Coursera
Интеграция
Пространство университета
Моё пространствоСтраница курса
↵
ЯЛичный кабинетСтудент
© 2026 LearnSpaceКаждый день — возможность узнать больше.Помощь
AJAX Authentication and Cross-Origin Requests · LearnSpace
Назад в каталог
courseraПрограммирование

AJAX Authentication and Cross-Origin Requests

Курс от Packt
Средний≈ 6.9 чАнглийский
О курсеНавыкиПрограммаПреподаватели

О курсе

Updated in May 2025. This course now features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. Unlock the power of HTTP Basic Authentication to enhance the security of your AJAX applications. This course starts with an introduction to the fundamental principles of authentication, explaining why it’s crucial for web security. You will explore how AJAX leverages HTTP Basic Authentication by passing user credentials, using practical examples that demonstrate these concepts in action. Delve deeper into the technicalities of Basic HTTP Authentication, learning about the role of the XHR object and the significance of Base64 encoding. The course guides you through setting up and configuring an Apache server, a key skill for any developer working with web technologies. You'll gain hands-on experience in creating and securing web forms, configuring .htaccess files, and implementing custom error messages to handle unauthorized access. Finally, transition to modern practices with the Fetch API, ensuring you're up-to-date with the latest web development standards. By the end of this course, you will have a comprehensive understanding of how to secure your AJAX requests using HTTP Basic Authentication, setting a strong foundation for your future web development projects. This course is designed for web developers and IT professionals looking to enhance the security of their web applications. A basic understanding of AJAX, HTTP, and JavaScript is recommended. Familiarity with server-side concepts and command-line tools will be beneficial but not required.

Навыки, которые вы освоите

EncryptionWeb ApplicationsWeb ServersJavascriptAuthenticationsApplication Programming Interface (API)Server SideApplication SecurityAuthorization (Computing)Apache

Программа курса

2 модулей · 57 учебных материалов

01HTTP Basic Authentication Using AJAX32 материалов

HTTP Basic Authentication Using AJAX

Introduction to AuthenticationВидеоIntroduction to the Course 'AJAX Authentication and Cross-Origin Requests'ЧтениеFull Specialization ResourcesЧтениеBasic HTTP Auth in ActionВидео

Учитесь у экспертов

Packt - Course Instructors

Преподаватель курса

AJAX Authentication and Cross-Origin Requests
В каталоге вашей программы

Инвестируйте в себя

Новые знания — в удобное для вас время.

Начать на Coursera

Обучение откроется на Coursera
в новой вкладке

Обучение на Coursera

≈ 6.9 ч

2 модулей

Язык: Английский

Субтитры: Арабский, Французский, Итальянский, Корейский, Немецкий, Индонезийский, Испанский, Японский, Казахский

Часть программы вашего университета
How Basic Authentication Works and Why Are We Discussing it in this CourseВидео
Base64 Encoding Versus EncryptionВидео
Basic Authentication Compared to Traditional HTTP RequestsВидео
What Is Apache?Видео
Strike the Right BalanceВидео
How to Start an Apache ServerВидео
Setting Up Our Apache Server and .htaccess FileВидео
Adding Basic Authentication in ApacheВидео
What Are We Going to BuildВидео
Building the HTMLВидео
The preventDefault MethodВидео
Sending User Credentials with AJAX, with Custom base64 EncodingВидео
Using XHR for Basic AuthenticationВидео
Creating a Custom Error Message in ApacheВидео
Updating Our Code to the Modern Fetch APIВидео
Node Example - What Are We Going to Build?Видео
What is a Node Server?Видео
Setting Up Our Node ServerВидео
Checking Whether the Authorization Header ExistsВидео
Extract User Credentials Using BufferВидео
No Server-Side Language is PerfectВидео
Finishing Off Our Node ExampleВидео
The next() Function Stops MiddlewareВидео
More about the next() FunctionВидео
Spotted an ErrorВидео
Basic Authentication - Section SummaryВидео
Section OutroВидео
Understanding HTTP Authentication with Apache ServerDIALOGUE
02Cross-Origin-Resource-Sharing (CORS) and Single-Origin-Policy (SOP)25 материалов

Cross-Origin-Resource-Sharing (CORS) and Single-Origin-Policy (SOP)

Introduction to CORSВидеоIntroduction to Same-Origin-Policy (SOP)ВидеоTwo Types of CORS Requests - Simple + PreflightВидеоWhat is the HEAD MethodВидеоSimple CORS RequestВидеоForeword on the Purpose of a Preflight RequestВидеоCORS Preflight RequestВидеоCORS in ActionВидеоSetting the Scene for a CORS ExampleВидеоSetting Up Our HTMLВидеоPerforming a SIMPLE CORS RequestВидеоMissing the Access-Control-Allow-Origin HeaderВидеоCSRF AttacksВидеоHow to Enable CORS on a SIMPLE RequestВидеоAdding the Access-Control-Allow-Origin on Our ServerВидеоHow to Initiate a PREFLIGHT CORS RequestВидеоSending a PREFLIGHT CORS Request by Setting Custom Content-Type HeaderВидеоSetting the Access-Control-Allow-Headers on the ServerВидеоAdding Basic AuthenticationВидеоCORS SummaryВидеоOutroВидеоConclusion to the Course 'AJAX Authentication and Cross-Origin Requests'ЧтениеUnderstanding the Same-Origin Policy and CORSDIALOGUEFull Course Practice AssessmentЗаданиеFull Course AssessmentЗадание