Blog
  • Home
  • Technical
  • Life
  • Login
Xác thực kết nối socket trong nodejs
TECHNICAL

Xác thực kết nối socket trong nodejs

Khi cài đặt socketio trong nodejs, mặc định mọi client có thể kết nối tới socket server đó. Để xác thực và ủy quyền cho những người dùng có quyền sử dụng kết nối, ta cần cấu hình thêm. 1. Phía server Phía server cần xác thực xem socket đang kết nối tới có phải là người dùng được xác thực hay không. Mình sẽ sử dụng JWT để xác thực token gử...
72 months ago

TAGS
AWS (28 posts )
RAILS (15 posts )
SECURITY (15 posts )
JAVASCRIPT (14 posts )
REACT (9 posts )
JAPAN (8 posts )
RUBY (8 posts )
NODEJS (6 posts )
LARAVEL (5 posts )
INFRA (4 posts )
ACTIVE RECORD (3 posts )
VISA (3 posts )
LIFE (3 posts )
PHONG THủY (3 posts )
JAVA (3 posts )
IAM (3 posts )
CIRCLECI (2 posts )
TàI CHíNH (2 posts )
HTML (2 posts )
VăN HọC (2 posts )
S3 (2 posts )
IMMUTABLE (2 posts )
VPC (2 posts )
REFERENCE (2 posts )
C (2 posts )
NGINX (2 posts )
EC2 (2 posts )
EXCEPTION (2 posts )
PROGRAMMING (2 posts )
C++ (2 posts )
TOáN HọC (2 posts )
CHứNG KHOáN (2 posts )
ECS (2 posts )
MUTABLE (2 posts )
AWS EC2 (2 posts )
WEBPACK (2 posts )
DNS (2 posts )
UNIT TEST (2 posts )
REDUX (2 posts )
MEMORY (2 posts )
VPN (2 posts )
ANIME (2 posts )
GO DEBUG (2 posts )
APIGATEWAY (1 posts )
MAIL (1 posts )
MEDICINE (1 posts )
ENCODE (1 posts )
NHậT BảN (1 posts )
DROPDOWN (1 posts )
GOOGLE CHROME (1 posts )