简体   繁体   中英

Storing freshly created database credentials

I'm creating a php application which creates a new database for each new registered user. How can I secure store the database credentials so it can be retrieved at user login.

  • A core database with encrypted database credentials?
  • Writing a file outside webroot? What about writing permissions?

我认为您必须创建一个“全局”数据库来存储凭证和与新数据库的关系。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM