Securely Storing PHP Configuration Settings

Published: 01 July 2023
on channel: Dave Hollingworth
7,424
443

Learn how to securely store configuration settings in a PHP application, using best practices.

Please consider supporting my channel:
☕ https://ko-fi.com/davehollingworth

Code shown in the video:
‣ https://gist.github.com/daveh/9e2f2a8...

Links shown in the video:
‣ https://www.12factor.net/config
‣ https://github.com/vlucas/phpdotenv

Gear icons created by Freepik - Flaticon
‣ https://www.flaticon.com/free-icons/gear

00:00 Introduction
00:18 Hardcoded credentials
01:06 PHP constants
02:02 PHP array
03:00 INI file
03:50 JSON and YAML
04:10 Environment variables
05:02 .env file
05:20 phpdotenv
06:14 Ignoring .env
06:55 Summary

#PHP #security #configuracion


Watch video Securely Storing PHP Configuration Settings online without registration, duration hours minute second in high quality. This video was added by user Dave Hollingworth 01 July 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 7,424 once and liked it 443 people.