Discuss how to implement an account system?
NaitLee opened this issue ยท 2 comments
NaitLee commented
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...
NaitLee commented
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 adict
- At
Account
incfgLib.py
(not committed currently, it manages accounts fromConfig
) - ... say something?
NaitLee commented
Still no one is here... ๐
The account system is initially done. Feel free to report your feelings~