티스토리 뷰

개발

Security

Byunpa24 2021. 3. 24. 16:36
반응형

Level 1: Security:Password and ID

 

Level 2: Security: Encryption 

 

Level 3: Environment variables (ex. encryption key, api keys  

- require( 'dotenv').config()

 

Level 4: Hasing

- md5()

--> you can't reverse the password. It is one way. 

+ salting

 

 

Level 5: using passport: cookies and sessions

 

www.npmjs.com/package/express-session

 

 

express-session

Simple session middleware for Express

www.npmjs.com

 

www.passportjs.org/

 

Passport.js

Simple, unobtrusive authentication for Node.js

www.passportjs.org

 

 

 

반응형
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG more
«   2025/02   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28
글 보관함