Database for login application
1 次查看(过去 30 天)
显示 更早的评论
I want to make a login with few users,, as i read on the internet there are many methods to make a database (.mat,excel sheet,sql etc) and store user data, If anyone can provide me with details
1) What kind of a data base suitable for this application ?
2) How to do this ?
It would be a great help, thanks.
0 个评论
采纳的回答
Walter Roberson
2012-5-27
Any of those could be used, and your choice will not make much difference if you only ever have one access at a time. The choice starts to become more important if you have multiple simultaneous access and you are recording whether users are logged in or not.
For all of the possibilities you list above, you need to be careful of security. The temptation is to store the username and password in plain text. The security of that is gone as soon as anyone can get a copy of the database to examine. You need to encrypt the passwords somehow.
0 个评论
更多回答(1 个)
Milindu
2012-5-27
3 个评论
Walter Roberson
2012-5-28
What kind of information about working with .mat files were you hoping for? You can load() .mat files and you can save() information to .mat files.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Database Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!