Store PLCnext CommunityPLCnext on LinkedInPLCnext on Instagram  PLCnext on YouTube Github PLCnext CommunityStore PLCnext Community

  1. Marco van Os
  2. PLCnext Engineer
  3. Monday, 22 February 2021

Hi All,

How can I read in my ST code who had logged in (user name, role)?

Thx Marco van Os

Accepted Answer
Marco van Os Accepted Answer Pending Moderation
0
Votes
Undo

Hi Eduard,

 

thx for reply.

I am busy with a kind of framework for our company. This framework will be the base for making HVAC projects for our customers.

We want to detect in our framework who is allowed to make changes to important settings and want to log changes in our Log system.

We used this in PCworkx/WebVisit.

 

Our programmers,  who gonna make the customer projects are mostly engineers en not well educated software programmers.

This is why we want to build this kind of functionality in the framework, so they do not have to concern about security matters.

This is also why we want that, on application level, the engineer works wit FBC and why we choose to setup the framework in IEC31161.

 

I am familiar to C++ but at this moment we do not work with it and we never worked with C++ on the PLCnect platform.

 

So if the are possibilities we like to hear them,

 

Greetings

 Marco van Os

 

 

 

 

 

 

 

Eduard PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hello Marco van Os,

by user log in a new session with user rights will be started, currently it is not possible to access to this information (logged user and role) via FB or ST.

If this feature is very importand for your project/customer please send me a E-Mail: emuenz@phoenixcontact.com with details about your project. 
In this case we can check, if it's possible to realize it in compliance with security requirements.

Currently we are planned to log this information as Notification. 
Maybe only the logging in Notifications can fulfill your requirement? 
Please also give me a short feedback, if the C++ function e.g. for parsing of Notification logs can be usefull for you and you are familiar with C++.

Thanks & Best Regards
Eduard


Phoenix Contact Electronics Headquarter - PLCnext Runtime Product Management and Support

  1. one week ago
  2. PLCnext Engineer
  3. # 1
Eduard PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hello Marco van Os,

please see the statement of development:

The desired function is implemented via the secure logging that we install for certification. The syslog-ng service is connected to a higher-level server.

If the user of the server has the appropriate rights from the AD, then the security logging can be transferred.

To access to this information via 61131 FB's contradicts the requirements of IEC 62443 and have to be excluded.


Best Regards,
Eduard


Phoenix Contact Electronics Headquarter - PLCnext Runtime Product Management and Support

  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.