• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting How to disable access for internet browsers like CHROME or FIRFOX ?

     
    • 0 Vote(s) - 0 Average

    How to disable access for internet browsers like CHROME or FIRFOX ?

    How to disable access for internet browsers like CHROME or FIRFOX ?
    eranzil
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    Country:Aruba
    #1
    2024-01-10, 01:09 PM (This post was last modified: 2024-01-10, 01:10 PM by eranzil. Edited 1 time in total.)
    Hi hello 

    Can someone tell me please how to disable the Access to the server website by web browsers like Chrome or Mozila or Internet explorer ?
    But continue to use only with android and iphone Apps ?
    I have Jellyfin windows server last version
    Because users downloading media from me with Chrome Download Video Extension
    Thank you very much !!!
    niels
    Offline

    Core Team

    Posts: 253
    Threads: 4
    Joined: 2023 Jun
    Reputation: 12
    Country:Netherlands
    #2
    2024-01-10, 02:09 PM
    It is not possible to block certain clients (or browsers) in Jellyfin.
    toytown
    Offline

    Member

    Posts: 85
    Threads: 3
    Joined: 2023 Jun
    Reputation: 3
    #3
    2024-01-10, 02:26 PM
    If you are using a reverse proxy (such as nginx) you can block browser user agents using a piece of code like this in the "server" section.  I'm not home to try it, but it should look something like this

    Code:
    if ($http_user_agent ~* (Chrome|Edge|Firefox) ) {
    return 403;
    }
    niels
    Offline

    Core Team

    Posts: 253
    Threads: 4
    Joined: 2023 Jun
    Reputation: 12
    Country:Netherlands
    #4
    2024-01-10, 02:28 PM
    We highly recommend against those kinds of configurations as it will most likely cause unforeseen issues
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #5
    2024-01-10, 02:59 PM (This post was last modified: 2024-01-10, 03:00 PM by tmsrxzar. Edited 1 time in total.)
    no global setting but you can do it per user

    dashboard -> users -> (username) -> access
    uncheck "allow access from all devices"
    uncheck any device listed that you do not want access from (chrome, firefox)

    downside, jellyfin doesn't recognize chrome as 1 device so you'll have to check periodically, a user on mine currently has 20+ "Chrome" entries and 10+ "FireFox", i assume different versions of the browser

    also, any user can just change their user-agent and be back to downloading so no fix other than banning the offending users
    eranzil
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    Country:Aruba
    #6
    2024-01-11, 06:49 AM (This post was last modified: 2024-01-11, 06:51 AM by eranzil. Edited 1 time in total.)
    (2024-01-10, 02:09 PM)niels Wrote: It is not possible to block certain clients (or browsers) in Jellyfin.

    (2024-01-10, 02:59 PM)tmsrxzar Wrote: no global setting but you can do it per user

    dashboard -> users -> (username) -> access
    uncheck "allow access from all devices"
    uncheck any device listed that you do not want access from (chrome, firefox)

    downside, jellyfin doesn't recognize chrome as 1 device so you'll have to check periodically, a user on mine currently has 20+ "Chrome" entries and 10+ "FireFox", i assume different versions of the browser

    also, any user can just change their user-agent and be back to downloading so no fix other than banning the offending users

    Hi

    I tried that before 
    It's not working
    I removeD this user device from the list
    And i changed this user settings to not allow CHROME 
    And he connect again ana again from the same PC
    eranzil
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    Country:Aruba
    #7
    2024-01-11, 06:54 AM
    (2024-01-10, 02:26 PM)toytown Wrote: If you are using a reverse proxy (such as nginx) you can block browser user agents using a piece of code like this in the "server" section.  I'm not home to try it, but it should look something like this

    Code:
    if ($http_user_agent ~* (Chrome|Edge|Firefox) ) {
    return 403;
    }

    Sound good !
    I would like to hear more about this
    Because i new to this Jellyfin thing
    This is my first server
    And i don't know to install nginx and make it run with Jellyfin
    eranzil
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    Country:Aruba
    #8
    2024-01-11, 10:10 AM (This post was last modified: 2024-01-11, 10:14 AM by eranzil.)
    (2024-01-11, 06:54 AM)eranzil Wrote: [quote="toytown" pid='13247' dateline='1704896775']
    If you are using a reverse proxy (such as nginx) you can block browser user agents using a piece of code like this in the "server" section.  I'm not home to try it, but it should look something like this

    Code:
    if ($http_user_agent ~* (Chrome|Edge|Firefox) ) {
    return 403;
    }

    Hi thank you !
    I did it and it's working
    But if you put in the Chrome Browser the URL: "Jellyfin.dns.net:8096" It's still working !!!
    How can i shut it off ?

    Thank you

    (2024-01-10, 02:26 PM)toytown Wrote: If you are using a reverse proxy (such as nginx) you can block browser user agents using a piece of code like this in the "server" section.  I'm not home to try it, but it should look something like this

    Code:
    if ($http_user_agent ~* (Chrome|Edge|Firefox) ) {
    return 403;
    }
    Hi 
    I did it and it works but if user put URL : "Jellyfin.ddns.net:8096" it's still showing the site
    How i can change it ?
    Thank you very much
     
    hhhhhhank you !
    I did it and it's working
    But if you put in the Chrome Browser the URL: "Jellyfin.dns.net:8096" It's still working !!!
    How can i shut it off ?

    Thank 
    Hi thank you !
    I did it and it's working
    Hi thank you !hhh
    I did it and it's working
    But if you put in the Chrome Browser the URL: "Jellyfin.dns.net:8096" It's still working !!!
    How can i shut it off ?

    Thank you
    But if you put in the Chrome Browser the URL: "Jellyfin.dns.net:8096" It's still working !!!
    How can i shut it off ?

    Thank you
    Hi thank you !
    I did it and it's working
    But if you put in the Chrome Browser the URL: "Jellyfin.dns.net:8096" It's still working !!!
    How can i shut it off ?

    Thank you

    Hi thank you !
    I did it and it's working
    But if you put in the Chrome Browser the URL: "Jellyfin.dns.net:8096" It's still working !!!
    How can i shut it off ?

    Thank you
    Hi thank you !
    I did it and it's working
    But if you put in the Chrome Browser the URL: "Jellyfin.dns.net:8096" It's still working !!!
    How can i shut it off ?

    Thank you
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2024-01-11, 05:47 PM
    In your nginx logs, double check that the user agent matches the strings you set.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode