NaitLee/PHFS

Discuss how to implement an account system?

NaitLee opened this issue ยท 2 comments

I think this project should be a "core/lite" version of HFS, which means it should not be complex.
What in my mind is just to make a table (csv) that stores username, password hash, and also other things.
But, sometimes "simple" means "insecure", using big dependencies is also a way.
What do you think about? ๐Ÿ˜ƒ

P.S. I don't like using dependencies, especially which also depends on other dependencies...

No one is here... ๐Ÿ˜…
I chose to make an easy account manager.
But, where should I put the logger (that records IP-user table)?

  • At server object PHFSServer as a dict
  • At Account in cfgLib.py (not committed currently, it manages accounts from Config)
  • ... say something?

Still no one is here... ๐Ÿ˜…
The account system is initially done. Feel free to report your feelings~