fbpx

Can I feed information from users connected to the MikroTik hotspot into the local database, such as requesting a name and email that is not registered just to store my database?

Yes, you can do it, but you will need additional programming software to connect to the MikroTik hotspot and when this data is filled, it is sent to the database.

You can collect information about users connected to a MikroTik HotSpot, such as name and email, and store it in a local database. MikroTik RouterOS allows great flexibility in HotSpot configuration, including customizing the login page to request additional information from users before allowing them access to the network.

We explain how you could configure and manage it:

1. Login Page Customization

To collect additional information such as name and email, you will need to customize the HotSpot login page. This involves editing the HTML files and possibly scripts associated with the HotSpot login page, which are located in the RouterOS file system.

  • Edit Login Page: You can access and modify the files on the login page using tools like the WinBox file manager or by connecting to the RouterOS file system via FTP. You will add HTML form fields to collect the name and email.

2. Management of Collected Data

Once you have modified the login page to include the additional fields, you will need to implement a method to handle and store this information. Here are some strategies:

  • Scripting in RouterOS: MikroTik RouterOS includes scripting capabilities that can be used to capture the information entered by the user and perform actions with it, such as storing it in a file within the router itself or sending it to a remote server.
  • Using an External Server: For more advanced data management, you can configure the login page to send the collected information to an external server where a script is executed (for example, in PHP, Python, or Node.js) that processes the data and stored in a database. This offers greater flexibility and security in the management of the collected data.

3. Privacy Compliance

It is essential to consider the privacy and data protection implications when collecting personal information from users. Be sure to:

  • Inform Users: You must clearly inform users about the information you are collecting and how it will be used. It is advisable to provide an accessible privacy policy during the login process.
  • Comply with Applicable Laws: Depending on your location and that of your users, you may be subject to specific regulations regarding the protection of personal data, such as the GDPR in Europe. Make sure you comply with these laws in terms of collecting, storing and processing personal data.

4. Technical Considerations

  • Safety: Implement appropriate security measures to protect information collected from users.
  • Maintenance: Be prepared to maintain and regularly update the system that handles user data, especially if you use an external server and custom scripts.

Collecting additional data from HotSpot users can be very valuable for marketing and communication purposes, but must always be done transparently, securely and in compliance with applicable data protection laws.

There are no tags for this post.
Did this content help you?
Facebook
Twitter
LinkedIn
WhatsApp
Telegram

Other documents in this category

Leave your comment

Your email address will not be published. Required fields are marked with *

Tutorials available at MikroLABs

No Courses Found!

DISCOUNT CODE

AN24-LIB

applies to MikroTik books and book packs

Days
Hours
Minutes
Seconds

Introduction to
OSPF - BGP - MPLS

Sign up for this Free course

MAE-RAV-ROS-240118
Days
Hours
Minutes
Seconds

Sign up for this Free course

MAS-ROS-240111

Promo for Three Kings Day!

KINGS24

15%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the Three Kings Day discount code!

* promotion valid until Sunday January 7, 2024
** the code (KINGS24) applies to shopping cart
*** buy your course now and take it until March 31, 2024

New Year's Eve Promo!

NY24

20%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the New Year's Eve discount code!

* promotion valid until Monday, January 1, 2024
** the code (NY24) applies to shopping cart
*** buy your course now and take it until March 31, 2024

Christmas discounts!

XMAS23

30%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the discount code for Christmas!!!

**codes are applied in the shopping cart
Promo valid until Monday December 25, 2023

CYBER WEEK DISCOUNTS

CW23-MK

17%

all MikroTik OnLine courses

CW23-AX

30%

all Academy courses

CW23-LIB

25%

all MikroTik Books and Book Packs

Take advantage of the discount codes for Cyber ​​Week!!!

**codes are applied in the shopping cart
Promo valid until Sunday December 3, 2023

BLACK FRIDAY DISCOUNTS

BF23-MX

22%

all MikroTik OnLine courses

BF23-AX

35%

all Academy courses

BF23-LIB

30%

all MikroTik Books and Book Packs

Take advantage of the discount codes for Black Friday!!!

**Codes are applied in the shopping cart

codes are applied in the shopping cart
valid until Sunday November 26, 2023

Days
Hours
Minutes
Seconds

Sign up for this Free course

MAE-VPN-SET-231115

Halloween promo

Take advantage of discount codes for Halloween.

Codes are applied in the shopping cart

HW23-MK

11% discount on all MikroTik OnLine courses

11%

HW23-AX

30% discount on all Academy courses

30%

HW23-LIB

25% discount on all MikroTik Books and Book Packs

25%

Register and participate in the free course Introduction to Advanced Routing with MikroTik (MAE-RAV-ROS)

Today (Wednesday) October 11, 2023
7pm to 11pm (Colombia, Ecuador, Peru)

MAE-RAV-ROS-231011