How to Password Protect OpenLiteSpeed with Basic Auth and Realms

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • Learn how to use realms to password protect your OpenLiteSpeed website or a directory with basic authentication.
    Find more at tonyteaches.tech
    Check out my vlog channel ‪@TonyFlorida‬
    #openlitespeed #baiscauth

Комментарии • 28

  • @MGKday
    @MGKday 2 года назад

    Hi Tony, thank you, very simple and easy to put in place. Quick question, is there any way to log/track/get notified/whatever solution for login attemps/failures ? just to try to detect who could be trying to bruteforce or to login?

  • @roklo
    @roklo 2 года назад

    Thanks! Works perfect for my wp-admin. This helped me a lot!

  • @slypto
    @slypto 10 месяцев назад

    thank u sir

  • @julienquidam2247
    @julienquidam2247 8 месяцев назад

    Hey Tony ! Tanks for all videos. It's working with http but not with https. With https, not authentication window. Can you help me plz ? :)

  • @jasminines
    @jasminines Год назад

    Fantastic! Thank you so much :D

  • @netraner
    @netraner 5 месяцев назад

    How to do it on Cyberpanel?

  • @dev_manish
    @dev_manish 3 года назад

    Hi, Tony, I have changed the Login Page URL using a Plugin, should I also use this to protect the page or changing URL, which one is a better option in terms of performance.

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      For maximum security, I would suggest doing both if that's possible. But if I had only one choice, I would use basic auth

  • @roklo
    @roklo Год назад

    Can this method be combined with fail2ban? i.e. If someone enters the wrong password more than 3 times they get banned by fail2ban?

  • @mathiastabo1375
    @mathiastabo1375 Год назад +1

    If keeps asking to enter username and password check permission of vhost or $VH_NAME folders and set to 750

    • @cogsci2
      @cogsci2 Год назад

      Lifesaver. Thank you for this - it's super hard to track down.

  • @serveryogi
    @serveryogi Год назад

    How to exclude a specific file or folder from this Basic Auth rule?

    • @miki_bas
      @miki_bas Год назад

      Hi, Did you find a solution?

  • @mertt.7602
    @mertt.7602 3 года назад

    Hi Tony, I did everything you explained but it says my username and password information are wrong, I created and tried again and again but the problem persists, what can I do?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      I don't know why that would be happening

    • @mertt.7602
      @mertt.7602 3 года назад

      @@TonyTeachesTech Solved Tony, the problem about file permissions. Thank you.
      Chmod 755 /usr/local/lsws/conf/

  • @BaljeetSingh-by5mf
    @BaljeetSingh-by5mf 2 года назад

    iam getting error 404 when creating saving realms ?? what is reason of that ?

  • @xMostFuriousx
    @xMostFuriousx 2 года назад

    This does not work. It just keeps asking to enter username and password

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад

      Please make sure you are providing the correct password

    • @xMostFuriousx
      @xMostFuriousx 2 года назад

      @@TonyTeachesTech i did, multiple times. It doesnt matter tho... did it trough cloudflare instead