Standard Post with Image

ChatGPT-4o vs GPT-4.1 vs GPT-4.5: Which Model Is Best for You?

OpenAI now offers three powerful models: GPT-4o, GPT-4.1, and GPT-4.5. Each brings unique strengths—multimodality, speed, or natural language finesse. This guide will help you pick the right one for your needs.

Read More
Standard Post with Image

クライアントはサーバーのプライベートキーなしでデータを復号できるのか?(結論:できません — 理由はこちら)

HTTPS や WSS(暗号化された WebSocket)経由で安全なウェブサイトやサービスを利用するとき、ブラウザとサーバーの間では裏側で安全な通信のための“握手”が行われています。その目的は、通信内容を誰にも盗み見されないようにすることです。

Read More
Standard Post with Image

ลูกค้าสามารถถอดรหัสข้อมูลจากเซิร์ฟเวอร์ได้หรือไม่หากไม่มี Private Key? (สรุป: ไม่ได้ — และนี่คือเหตุผล)

เมื่อคุณใช้งานเว็บไซต์หรือบริการที่ปลอดภัยผ่าน HTTPS หรือ WSS (WebSocket แบบเข้ารหัส) เบราว์เซอร์ของคุณและเซิร์ฟเวอร์จะทำการ "จับมือ" กันด้วยวิธีเข้ารหัสลับเบื้องหลัง เพื่อให้แน่ใจว่าไม่มีใครแอบดูข้อมูลของคุณได้ คำถามที่หลายคนสงสัยคือ: "ถ้าลูกค้าได้ Public Key ของเซิร์ฟเวอร์มา เขาก็สามารถถอดรหัสข้อมูลได้ใช่ไหม?" หรือ "ลูกค้าจำเป็นต้องใช้ Private Key ของเซิร์ฟเวอร์เพื่อถอดรหัสข้อมูลหรือเปล่า?"

Read More
Standard Post with Image

Can Clients Decrypt Server Data Without the Private Key? (Spoiler: No—and Here’s Why)

When you use a secure website or service over HTTPS or WSS (secure WebSockets), your browser and the server engage in a behind-the-scenes cryptographic dance. The goal? To make sure no one can snoop on your data. A common misunderstanding is: "If the client gets the server’s public key, can’t it just decrypt the data?" […]

Read More
Standard Post with Image

複数フレームワーク間でのJWT認証の管理

Flaskをフロントエンド、FastAPIをバックエンドAPIとして使用するような複数フレームワークでアプリケーションを開発する際、認証を安全かつスムーズに管理するのは難しい場合があります。JSON Web Token(JWT)は、これらのフレームワーク間で統一された認証の仕組みを実現する強力な方法です。本記事では、その具体的な方法を紹介します。

Read More
Standard Post with Image

การจัดการ JWT Authentication ระหว่างหลายเฟรมเวิร์ก

เมื่อคุณพัฒนาแอปพลิเคชันโดยใช้หลายเฟรมเวิร์ก เช่น Flask สำหรับ frontend และ FastAPI สำหรับ backend API การจัดการระบบยืนยันตัวตนให้ปลอดภัยและราบรื่นอาจเป็นเรื่องท้าทาย JSON Web Token (JWT) เป็นทางเลือกที่ดีในการบริหารจัดการการยืนยันตัวตนให้สอดคล้องกันระหว่างเฟรมเวิร์กต่าง ๆ มาดูกันว่าควรใช้อย่างไรให้มีประสิทธิภาพ

Read More
Standard Post with Image

Managing JWT Authentication Across Multiple Frameworks

When developing applications across multiple frameworks, like Flask for the frontend and FastAPI for backend APIs, ensuring secure and seamless authentication can become complex. JSON Web Tokens (JWT) offer a robust solution to manage authentication consistently across these frameworks. Let’s explore how to effectively manage JWT authentication between Flask and FastAPI.

Read More
Standard Post with Image

FastAPI と Alpine.js で EXFO テスター管理パネルを軽量構築する

この投稿では、FastAPI と Alpine.js を使用して、EXFO テスターと連携する軽量なウェブアプリを作成する方法を紹介します。ユーザー認証、テスト結果の取得、そして簡単なダッシュボードを一つの HTML ページで実装できます。

Read More
Standard Post with Image

สร้างระบบแอดมินสำหรับ EXFO Tester ด้วย FastAPI และ Alpine.js แบบเบาและมีประสิทธิภาพ

ในโพสต์นี้ ผมจะพาคุณสร้างเว็บแอปพลิเคชันเบา ๆ ที่เชื่อมต่อกับ EXFO Tester ผ่าน API, มีระบบล็อกอิน และแสดงผลการทดสอบ โดยใช้ FastAPI และ Alpine.js

Read More
Standard Post with Image

Building a Lightweight EXFO Tester Admin Panel with FastAPI and Alpine.js

In this post, I’ll walk you through how to build a lightweight web application that integrates with EXFO tester APIs, allows for user authentication, and fetches test results using FastAPI and Alpine.js.

Read More