跳至内容
菜单
此问题已终结
5 回复
5844 查看

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

形象
丢弃
最佳答案

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.

形象
丢弃
最佳答案

Hi,

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

Thanks

形象
丢弃
编写者

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

最佳答案

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

形象
丢弃

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

最佳答案

i need your module by Odoo V15 in Odoo.sh 

形象
丢弃

Ahmad Inayat

Midhum M M

最佳答案

Hi,

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


形象
丢弃

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

相关帖文 回复 查看 活动
1
9月 23
1903
0
11月 16
4422
ePoS Printer 已解决
2
6月 24
1849
0
1月 25
1168
1
5月 24
691