Duration 7:20

Securely Storing PHP Configuration Settings

2 795 watched
0
223
Published 1 Jul 2023

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/9e2f2a8a9e82b370388d718d927923de Links shown in the video: ‣ https://www.12factor.net/confighttps://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

Category

Show more

Comments - 40
  • @
    @dave-hollingworth10 months ago If there's another topic you'd like to see me cover, please let me know! 4
  • @
    @vijaykoogu382210 months ago Hi @dave-hollingworth please dont stop uploading new videos. Thanks alot. 3
  • @
    @viralstation10 months ago Welcome back sir! Love your content as always. Can you please make a whole project and go with each step explaining from DB design to front & backend and finally publishing? Thanks 4
  • @
    @tempMahad6 months ago Can you imagine that this is the exact video i wanted!
    You are just adding more value to me.
  • @
    @batchrocketproject472010 months ago Really useful, clear, and to the point. Thanks. 💯
  • @
    @someutubchannel6910 months ago As always a wonderful video.
    I have 2 of your Udemy courses...
    They are the best I have experienced from Udemy
    I highly recommend your courses
    2
  • @
    @MuhamadSurchy8 months ago Thanks for sharing all those very useful information , but sir can you create a video on php source code Encrypting please
  • @
    @sakmaestro38528 months ago Do u have a symfony tutorial or course?
  • @
    @UIRETU7 months ago Hello dear author plz show hot to create ajax product filter with url in route for sending product to smb thx
  • @
    @Big_Dot_Inc10 months ago Hi. I am struggling to understand how search box autocomplete works on an website .Do i have to create a huge library with words in a folder somwehere in php ?
  • @
    @NedumEze10 months ago But, Dave, you also know that the PHP.env cannot be used in Production, or can it? If so, how please?
  • @
    @dave-hollingworth10 months ago If there's another topic you'd like to see me cover, please let me know! 4
  • @
    @vijaykoogu382210 months ago Hi @dave-hollingworth please dont stop uploading new videos. Thanks alot. 3
  • @
    @viralstation10 months ago Welcome back sir! Love your content as always. Can you please make a whole project and go with each step explaining from DB design to front & backend and finally publishing? Thanks 4
  • @
    @tempMahad6 months ago Can you imagine that this is the exact video i wanted!
    You are just adding more value to me.
  • @
    @batchrocketproject472010 months ago Really useful, clear, and to the point. Thanks. 💯
  • @
    @someutubchannel6910 months ago As always a wonderful video.
    I have 2 of your Udemy courses...
    They are the best I have experienced from Udemy
    I highly recommend your courses
    2
  • @
    @MuhamadSurchy8 months ago Thanks for sharing all those very useful information , but sir can you create a video on php source code Encrypting please
  • @
    @sakmaestro38528 months ago Do u have a symfony tutorial or course?
  • @
    @UIRETU7 months ago Hello dear author plz show hot to create ajax product filter with url in route for sending product to smb thx
  • @
    @Big_Dot_Inc10 months ago Hi. I am struggling to understand how search box autocomplete works on an website .Do i have to create a huge library with words in a folder somwehere in php ?
  • @
    @NedumEze10 months ago But, Dave, you also know that the PHP.env cannot be used in Production, or can it? If so, how please?
  • @
    @dave-hollingworth10 months ago If there's another topic you'd like to see me cover, please let me know! 4
  • @
    @vijaykoogu382210 months ago Hi @dave-hollingworth please dont stop uploading new videos. Thanks alot. 3
  • @
    @viralstation10 months ago Welcome back sir! Love your content as always. Can you please make a whole project and go with each step explaining from DB design to front & backend and finally publishing? Thanks 4
  • @
    @tempMahad6 months ago Can you imagine that this is the exact video i wanted!
    You are just adding more value to me.
  • @
    @batchrocketproject472010 months ago Really useful, clear, and to the point. Thanks. 💯
  • @
    @someutubchannel6910 months ago As always a wonderful video.
    I have 2 of your Udemy courses...
    They are the best I have experienced from Udemy
    I highly recommend your courses
    2
  • @
    @MuhamadSurchy8 months ago Thanks for sharing all those very useful information , but sir can you create a video on php source code Encrypting please
  • @
    @sakmaestro38528 months ago Do u have a symfony tutorial or course?
  • @
    @UIRETU7 months ago Hello dear author plz show hot to create ajax product filter with url in route for sending product to smb thx
  • @
    @Big_Dot_Inc10 months ago Hi. I am struggling to understand how search box autocomplete works on an website .Do i have to create a huge library with words in a folder somwehere in php ?
  • @
    @NedumEze10 months ago But, Dave, you also know that the PHP.env cannot be used in Production, or can it? If so, how please?
  • @
    @dave-hollingworth10 months ago If there's another topic you'd like to see me cover, please let me know! 4
  • @
    @vijaykoogu382210 months ago Hi @dave-hollingworth please dont stop uploading new videos. Thanks alot. 3
  • @
    @viralstation10 months ago Welcome back sir! Love your content as always. Can you please make a whole project and go with each step explaining from DB design to front & backend and finally publishing? Thanks 4
  • @
    @tempMahad6 months ago Can you imagine that this is the exact video i wanted!
    You are just adding more value to me.
  • @
    @batchrocketproject472010 months ago Really useful, clear, and to the point. Thanks. 💯
  • @
    @someutubchannel6910 months ago As always a wonderful video.
    I have 2 of your Udemy courses...
    They are the best I have experienced from Udemy
    I highly recommend your courses
    2
  • @
    @MuhamadSurchy8 months ago Thanks for sharing all those very useful information , but sir can you create a video on php source code Encrypting please
  • @
    @sakmaestro38528 months ago Do u have a symfony tutorial or course?
  • @
    @UIRETU7 months ago Hello dear author plz show hot to create ajax product filter with url in route for sending product to smb thx
  • @
    @Big_Dot_Inc10 months ago Hi. I am struggling to understand how search box autocomplete works on an website .Do i have to create a huge library with words in a folder somwehere in php ?
  • @
    @NedumEze10 months ago But, Dave, you also know that the PHP.env cannot be used in Production, or can it? If so, how please?