Welcome to ESSO '4K' APPS

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Please : Read and Ask questions and to avoid getting banned!

Advertising

Don't miss the opportunity to make yourself known to the world.

Account upgrade

Upgrade your account to unlock premium ibo resources!
ibo-reseller-v5 !
✨ New reseller IBO Player panel with automatic testing, DNS, username and password. You can schedule activation days and create a section for activating reseller MAC addresses. Each reseller has access to the panel with their login credentials. Multi-DNS panel. Be among the first to download it. ✨
It's free regardless of the VIP package: 1 week, 2 weeks or 1 month.
I'm taking advantage of the offer
Web page! Esso4k-IBOv2 Red . Take advantage of it →
LIMITED-TIME VIP PROMO — 1 MONTH Subscription at a reduced price! Special Offer: 2-WEEK VIP at a reduced price! ⚡ New price: 1-WEEK VIP cheaper! ⚡ New price: Extended Member cheaper! ( Download all resources blocked by credits for only 40 euros for 90 days. ) Click here to see the full offer
VIEW THE VIP OFFER
What are HMAC Keys in XUI.ONE ?

Tutoriel What are HMAC Keys in XUI.ONE ?

esso4k

Proprietaire

Staff member
Administrator
Moderator
Ext. Member
2RES &1Attch /Day
Joined
Feb 5, 2024
Messages
3,308
Reaction score
6,681
Points
113
Website
esso4k-tv.com
vip
7,370 credits
Online
What are HMAC Keys in XUI.ONE ?
HMAC keys were integrated into XUI a while ago, but without an explanation as to how it works and what it is for, not many people would be able to successfully implement it.

The idea behind using HMAC is to be able to use your own form of authentication on your website, yet stream from XUI and be able to manage connections accordingly. Instead of using a XUI username and password to authenticate a stream, you can generate a HMAC key with a unique identifier and restrictions that XUI will be able to verify and log.

Firstly, you need to access the XUI Admin panel and generate a HMAC Key.

1728721877964.png


Done! You now have your HMAC Key: 007B50D51E14F409104FCACB48849B2C
You would then need to keep it safe somewhere as you won't be able to see it again, it's encrypted in the database.

Token Parameters:

  • Stream ID
  • Extension
  • Max Connections
  • Identifier
  • Expiration - optional
  • User IP - optional
From the above you can build a token as follows:
[HIDETHANKS]
Code:
You must log in to view
(1 lines)


An example being a user you have authenticated on your own system would like to view stream 44, you want restrict them to their IP address and only allow them to view the stream using this URL for 24 hours, with 1 max connection:
Code:
You must log in to view
(1 lines)


You can then generate a HMAC token using the above string, and the HMAC key you generated earlier. An example in PHP would be:
Code:
You must log in to view
(1 lines)

Your HMAC token in this example would be:
Code:
You must log in to view
(1 lines)


Finally, build your URL to the stream using your HMAC token and token parameters as follows:
Code:
You must log in to view
(1 lines)


That's it! You have a working URL that will expire in 24 hours and be restricted to IP 192.168.0.1, allowing only 1 connection at a time to stream 44 and generating a HLS m3u8 playlist.


Understandably this may seem foreign to a lot of you, however if you're a developer, this is a secure and easy method to allow external access to your streaming platform without having to set up a new XUI line for each of your external users.
[/HIDETHANKS]
 
Who read this thread (Total readers: 0)
No registered users viewing this thread.

IBO4k plus V2 AUTO-DEMO !

Download our APK & Panel Free for free .
and Connect for free our Page (registered members only).!

shape1
shape2
shape3
shape4
shape5
shape6
Back
Top