Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

6 total results found

Authentication and Authorization

Introduction to JWT Chapter 0: Basic Authentication

Authentication🔑 Authentication คืออะไร? Authentication คือ การยืนยันตัวตนของผู้ใช้งานบนเเอพพลิเคชั่นหรือเว็บไซต์นั้นเพื่อพิสูจน์ว่าคนที่ใช้ระบบอยู่เป็นเจ้าของ account นั้นจริง ๆ หรือให้อธิบายง่าย ๆ มันก็คือการใส่ password เพื่อพิสูจน์ว่าคนที่ login เข้ามาเป...

Encoding and Decoding

Introduction to JWT Chapter 0: Basic Authentication

ทำไมเราต้องรู้จัก 2 คำนี้ 🔍 การจัดการ session ทั้งเเบบที่ใช้เเละไม่ใช้ JWT จะใช้การ encode เเละ decode เพื่อส่งข้อมูลระหว่าง Client-Server เราเลยจำเป็นต้องเข้าใจหลักการคร่าว ๆ เเล้วทำไปเพื่ออะไร? ทำไปเพื่อเเปลงข้อมูลให้สามารถใช้งานกับระบบอื่น ๆ ได้ เช่น ข้อ...

Cookies and Session

Introduction to JWT Chapter 0: Basic Authentication

Cookies🍪 Cookies คืออะไร?  Cookies คือ ไฟล์ข้อความขนาดเล็กที่ทางฝั่งเว็บเซิฟเวอร์ทำการสร้างเเละส่งเข้ามาเก็บไว้ที่ web browser ของผู้ใช้งาน โดยมันจะเกิดขึ้นเมื่อผู้ใช้มีการเข้าไปรับชมเว็บไซต์ต่าง ๆ ตัวอย่างของไฟล์ cookies เเล้ว cookies เนี่ยใช้เก็บอะไร? ...

Authentication methods

Introduction to JWT Chapter 1: Concept of Json Web Token

Method🔧 ต้องขอเกริ่นก่อนว่า การยืนยันตัวตน (Authentication) มันมีหลายวิธี โดย JWT ก็เป็นหนึ่งในวิธียืนยันตัวตนเเบบ Token-based authentication ในที่นี้จะขอยกตัวอย่าง 3 วิธีที่เราน่าจะคุ้นชินกัน 1. Password-based authentication วิธีนี้เป็นวิธีที่ทั่วไปเเละใช...

Json Web Token

Introduction to JWT Chapter 1: Concept of Json Web Token

JWT🔒 JWT คืออะไร? JWT หรือ Json Web Token คือมาตรฐานการเข้ารหัสข้อมูลใน token (RFC 7519) ที่เหมาะสำหรับการใช้ยืนยันตัวตนในเว็บเเอพพลิเคชั่นที่มีผู้ใช้จำนวนมาก อธิบายง่าย ๆ มันก็คือ token ที่เอาไว้ใช้ยืนยันตัวตนเวลาจะทำกิจกรรมบางอย่างบนเว็บไซต์นั่นเอง ตัวอย่...

JWT in Authentication process

Introduction to JWT Chapter 1: Concept of Json Web Token

How JWT works🔍 การยืนยันตัวตนด้วย JWT สถานการณ์จำลอง นาย A เป็น admin ของระบบร้านค้าเเห่งหนึ่งเเละต้องการที่จะ login เพื่อไปดูข้อมูลการซื้อ-ขายสินค้าในหน้า dashboard ของระบบ 1. นาย A ส่ง authenticated request ไปยัง Server 2. Server ได้ทำการยืนยันว่า นาย ...