Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
5 Trả lời
5853 Lượt xem

How to get the MAC details of the users? Please can anyone suggest the solution or any module for this?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

mac address is not being sent in the request header. so this method only works in a local network.

first, install getmac package:

>> pip install getmac

from getmac import get_mac_address


ip_address = request.httprequest.environ['REMOTE_ADDR'] // get end user IP in thecontroller
mac_address = get_mac_address(ip=ip_address) // get mac_address of given ip in network

Now you can check the MAC address to be valid for the user trying to be authenticated.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

Will this module helps ? https://apps.odoo.com/apps/modules/14.0/access_restriction_by_ip/

Thanks

Ảnh đại diện
Huỷ bỏ
Tác giả

Thry are using IP address, we need MAC address, Thanks for your response.

Câu trả lời hay nhất

Dear Midhun, 

did you find restrict users by using MAC Address? can you guide me how to please contact email id : mohamedashif.an@gmail.com

Ảnh đại diện
Huỷ bỏ

can you guide me Midhun how to do please contact me mohamedashif.an@gmail.com

Hi did you find ?
I'm interested can you contact me please ? yacine.bensidhoum@gmail.com

Yes i do have a solution for access restriction by mac address please inbox me at ahmadinayat75@gmail.com

Câu trả lời hay nhất

i need your module by Odoo V15 in Odoo.sh 

Ảnh đại diện
Huỷ bỏ

Ahmad Inayat

Midhum M M

Câu trả lời hay nhất

Hi,

do you have a solution about " access restriction by mac address " odoo 14


Ảnh đại diện
Huỷ bỏ

Yes i do have a solution for access restriction by mac address please inbox me at ahmadinayat75@gmail.com

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 23
1910
0
thg 11 16
4428
ePoS Printer Đã xử lý
2
thg 6 24
1852
0
thg 1 25
1169
1
thg 5 24
691