A user agent is a computer program representing a person, for example, a browser in a Web context.

Besides a browser, a user agent could be a bot scraping webpages, a download manager, or another app accessing the Web. Along with each request they make to the server, browsers include a self-identifying user-agent HTTP header called a user agent (UA) string. This string often identifies the browser, its version number, and its host operating system.

A typical user agent string looks like this:

"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0"

How to allow to block requests based on User Agent in Live streaming?

Please follow the steps,

  • Login to the 5centsCDN control panel.
  • Go to Live Streams.
  • Select Push/Pull/Multi-bitrate Push/Scheduled playlist/Delayed stream.
  • Click the Manage button of your stream name.
  • On the redirected page, You can click User Agent under Security.
    • Click the Enable button.
    • Policy: select Allow or Block.
    • User Agents: You can add the User Agent here(use *useragent* for wildcard match). You can also enable or disable Case Sensitive Match
  • Click the Save button.

Please wait 15 mins to deploy the changes.

 

How to allow to block requests based on User Agent in Zones?

  • Login to the 5centsCDN control panel.
  • Go to Zones.
  • Select HTTP Push/Pull or VoD Push/Pull.
  • Click the Manage button on your zone
  • On the redirected page, You can click User Agent under Security.
    • Click the Enable button.
    • Policy: select Allow or Block.
    • User Agents: You can add the User Agent here(use *useragent* for wildcard match). You can also enable or disable Case Sensitive Match
  • Click the Save button.