Open okyame opened 5 years ago
this should disable it: policyIDs = ["Username"] server.set_security_IDs(policyIDs)
How do you Test it? UaExpert?
https://github.com/AndreasHeine/SecurePythonOpcUaServer https://github.com/AndreasHeine/SecurePythonOpcUaClient
this should disable it: policyIDs = ["Username"] server.set_security_IDs(policyIDs)
How do you Test it? UaExpert?
https://github.com/AndreasHeine/SecurePythonOpcUaServer https://github.com/AndreasHeine/SecurePythonOpcUaClient
Anonymous login still works after setting this. Tested with UaExport.
Hi, I am having the same issue. Any update on this? Thanks
same here using UAExpert anonymous login still works :(
Sample Server:
Add Server in UA Expert:
Connect (asking for auth):
Error:
What does you do and get from UA Expert? Code? Versions?
Iam using python 3.7.2 64bit and python-opcua v0.98.9!
At first I want to thank you for the response and your great work!
Ok I tried with your example from scratch and it behaves like you explained. Let me ask you one question if the following is intended.
I tried to change the properties after adding the server. Now the anonymous option is not grey and I can choose it.
UAExpert 1.5.1 331
Not sure this is implemented. The focus of that library has always been compatibility, not much security so far. But hopefully it is easy to fix
Ok got ya! I can reproduse that behavior... Sadly iam not that deep into the lib...
i made a wireshark trace:
open_channel_req:
open_channel_res:
create_session_req:
create_session_res:
activate_session_req:
activate_session_res:
it doesn't look like there is an implementation for comparing server policieIDs with activate session request user token !?
I have to setup a server that allows clients to login only with username and password. It work with the example file below. But I can not disable the Anonymous connection.
In the server.py file, it's written that :
Someone can tell me where to look to implement this ? (I'm new in opc ua world)
Thanks