How To Password Protect Your Website For Free - .htaccess and .htpasswd

Поділитися
Вставка
  • Опубліковано 31 січ 2025

КОМЕНТАРІ • 20

  • @krisilyubenov2372
    @krisilyubenov2372 Рік тому +2

    Hey Tyler, thanks for this video! I really like how you explain. So I am a new developer and I have this project that needs an admin panel where the owner can modify firebase storage (basically used for gallery on the website). Everything works great, but I don't want anyone to be able to open this page. Can you make a video for page password protection that can be tested even on localhost. Maybe firebase authentication or anything that you would suggest. There are many videos about firebase auth, but most of them are very complex, explaining user logins etc... I find it too difficult to understand everything at this point, so a video about page protection would be great for me. Thanks again!

    • @TylerTalksChannel
      @TylerTalksChannel  Рік тому

      I have a video on making an app with an admin panel on my panel. Two suggestions, first would be to set it up to check for the user account and display data based on the email (less secure) another way is to make a second app only you have access to. There are other ways as well, those are the easiest.

  • @student2k185
    @student2k185 3 місяці тому

    Does hostinger automatically encrypt the username and password by using the default hostinger only method shown on 1:54? Also if we use LCN method does that mean this website will have access to our password?

    • @TylerTalksChannel
      @TylerTalksChannel  3 місяці тому

      I'm not sure, I recommend reaching out to their team to ask since it's security related

  • @michel_98
    @michel_98 2 місяці тому

    Hey, thanks!
    Do the users also need to visit the site in incognito-mode? I mean if yes, every user could access this domain. Or why did you have to move to the incognito-mode?

    • @TylerTalksChannel
      @TylerTalksChannel  2 місяці тому

      I use incognito mode to avoid caching issues and to simulate a new user.

  • @robertstane5823
    @robertstane5823 8 місяців тому +1

    Greetings Tyler... I am a copywriter/designer with a Hostinger domain. My website has many images that I have created and only want my business clients to view. Is there a way to keep me off the search engines and after giving my address to my business clients, no one else can view my website?

    • @TylerTalksChannel
      @TylerTalksChannel  8 місяців тому

      You can use a robots txt file to help with this, I have a video on that on my channel.

  • @mickhinton8746
    @mickhinton8746 Рік тому

    Great video. How do you create a login form to submit the user name and password to access the locked folder?

    • @TylerTalksChannel
      @TylerTalksChannel  Рік тому +1

      I made a simple video on this here: ua-cam.com/video/Rl3RZbuLnm0/v-deo.html

    • @mickhinton8746
      @mickhinton8746 Рік тому

      @@TylerTalksChannel Thanks for the new video, I'll try that later. I was trying to use a php solution for the login page using .htaccess but can't get it to work. Could you do a video for that?
      Here is the code I was given

  • @simontee
    @simontee Рік тому

    will it ask for the password again if a user re-enters the page? also will it ask for the password if a user enters another page or a file/image through url?

    • @TylerTalksChannel
      @TylerTalksChannel  Рік тому +1

      I'm not sure but I think it depends on what you protect. If you password protect the root I think it will require it each time, or for each new session.

  • @RubabORSalma
    @RubabORSalma Рік тому

    please make more video for securing website