Securely Storing PHP Configuration Settings

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ธ.ค. 2024

ความคิดเห็น • 52

  • @dave-hollingworth
    @dave-hollingworth  ปีที่แล้ว +5

    If there's another topic you'd like to see me cover, please let me know!

    • @ademineshat
      @ademineshat ปีที่แล้ว +3

      I think you're going in the right direction with these tutorials. These topic's are most wanted, other TH-cam tutorials teaching just Basics which are good but not enough. Thank you

    • @efbYouTube
      @efbYouTube ปีที่แล้ว +2

      is the laravel framework something u use (& recommend)? i saw it placed quite high on the stackoverflow survey this year & last. txs again (& again & again 😊) for these great vids!

    • @ademineshat
      @ademineshat ปีที่แล้ว +2

      @@efbTH-cam Laravel is Great but for larger projects maybe. I always like to create something my own and enjoy it ☺️

    • @dave-hollingworth
      @dave-hollingworth  ปีที่แล้ว +1

      @@ademineshat Agreed - @efbolton3429 I will be doing some Laravel videos at some point, yes!

    • @NedumEze
      @NedumEze ปีที่แล้ว +1

      Yeah!
      Again, please, could you try to deal with web apps' and sites' scalability? Things for or against scalability, and the hows. Please.

  • @vijaykoogu3822
    @vijaykoogu3822 ปีที่แล้ว +3

    Hi @dave-hollingworth please dont stop uploading new videos. Thanks alot.

  • @viralstation
    @viralstation ปีที่แล้ว +5

    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

  • @tempMahad
    @tempMahad ปีที่แล้ว +1

    Can you imagine that this is the exact video i wanted!
    You are just adding more value to me.

  • @jannickbreunis
    @jannickbreunis 4 หลายเดือนก่อน

    Short and quick tutorial on an important topic!

  • @someutubchannel69
    @someutubchannel69 ปีที่แล้ว +3

    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

  • @edopenroz
    @edopenroz 3 หลายเดือนก่อน

    Another really useful video and perfectly explained!

  • @cursosdecodeigniter2857
    @cursosdecodeigniter2857 ปีที่แล้ว +1

    Very good!

  • @ArifBasri
    @ArifBasri ปีที่แล้ว +1

    thank you!

  • @abdelhamidnehlil7277
    @abdelhamidnehlil7277 ปีที่แล้ว +1

    très intéressant, merci!

  • @batchrocketproject4720
    @batchrocketproject4720 ปีที่แล้ว

    Really useful, clear, and to the point. Thanks. 💯

  • @sakmaestro3852
    @sakmaestro3852 ปีที่แล้ว

    You really explained well...

  • @eliasagustin2
    @eliasagustin2 ปีที่แล้ว +1

    Thanks!

  • @thislife1980
    @thislife1980 3 หลายเดือนก่อน

    Im looking for a checklist kind of security checks when deploying into a production environment. Like this .env. I made a rookie mistake of putting it into a root public_html. So I had to look for ways to prevent access of the file using htaccess. I wish there’s a video like that. I don’t know other security checks yet to make my app secure.

  • @jigneshtrivedi00700
    @jigneshtrivedi00700 หลายเดือนก่อน +1

    good example please .. how can i store .env file outside of root project of php ? and how can i access the values?

    • @dave-hollingworth
      @dave-hollingworth  หลายเดือนก่อน +2

      You would typically have a "public" folder where the web content is served from - this is the folder that the web server is configured with as its root folder. You would store the .env file above that. You would use a library like dotenv to read them.

    • @jigneshtrivedi00700
      @jigneshtrivedi00700 หลายเดือนก่อน

      @@dave-hollingworth thanks 👍 sir

  • @MuhamadSurchy
    @MuhamadSurchy ปีที่แล้ว

    Thanks for sharing all those very useful information , but sir can you create a video on php source code Encrypting please

  • @Big_Dot_Inc
    @Big_Dot_Inc ปีที่แล้ว

    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 ?

    • @dave-hollingworth
      @dave-hollingworth  ปีที่แล้ว +1

      It's typically a database search as opposed to a folder with files in it - the browser sends a request to the web server and this matches the search term to values in a database column and returns a response

    • @Big_Dot_Inc
      @Big_Dot_Inc ปีที่แล้ว +1

      @@dave-hollingworth Talking about a topic ,how about if you can do a topic we descuse earlier?

  • @sakmaestro3852
    @sakmaestro3852 ปีที่แล้ว

    Do u have a symfony tutorial or course?

  • @UIRETU
    @UIRETU ปีที่แล้ว

    Hello dear author plz show hot to create ajax product filter with url in route for sending product to smb thx

  • @mnamihas
    @mnamihas ปีที่แล้ว +1

  • @PGTuber
    @PGTuber ปีที่แล้ว

    ❤❤❤

  • @NedumEze
    @NedumEze ปีที่แล้ว

    But, Dave, you also know that the PHP.env cannot be used in Production, or can it? If so, how please?

    • @dave-hollingworth
      @dave-hollingworth  ปีที่แล้ว

      Yes it can - if you have a "traditional" host, then you just make a .env file on your production server, with the production values. If you're using something like Heroku, then you can define environment variables in the admin panel.

    • @kelechichiemeka6292
      @kelechichiemeka6292 7 หลายเดือนก่อน

      Wont it be accessible via the url?

    • @NedumEze
      @NedumEze 7 หลายเดือนก่อน

      @@kelechichiemeka6292
      Not securely.

    • @dave-hollingworth
      @dave-hollingworth  7 หลายเดือนก่อน

      The .env file is typically placed outside of the web root, do it shouldn't be accessible in a browser

    • @NedumEze
      @NedumEze 7 หลายเดือนก่อน

      @@dave-hollingworth
      Thanks Dave. You've been such great help and friend for a long time.
      Because I couldn't figure out how to securely and robustly use the .env approach, I resorted to using includes from outside the root. There, it's not easy to access.
      But, some day, I am hoping that you will redo the .env approach with Production environment in focus. The previous video was in the Development environment.
      Looking forward, Dave.

  • @studio_iq
    @studio_iq 3 หลายเดือนก่อน

    outside of web root means what?

    • @dave-hollingworth
      @dave-hollingworth  3 หลายเดือนก่อน

      The web server has a "root" folder where all its content is served from. A folder outside this root means one that isn't in this folder or one of its subfolders.