Experimental Physics and Industrial Control System
|
Hi, all
I am creating an epics ADDriver that needs to communicate and authenticate with another server. The authentication requires a password and a username.
Since I want everything to be as dynamic as possible, I wanted to create a record to use the password to authenticate, but I don't feel comfortable only protecting the record with ASG because it feels like a thin layer of protection.
I tried making an asynOctetWrite record that passes a value to MYDriver::writeOctet() without storing the value passed. In other words: something that would behave like:
caput MY_RECORD PASS
(Function MYDriver::writeOctet gets called with PASS passed as an argument to the function)
caget MY_RECORD
MY_RECORD #Shows nothing, nothing is actually stored in the record.
But I could not succeed in making this record only with asyn. The best solution I can think of now is reading the password from a file which again doesn't seem like the optimal solution.
This is probably not a too specific problem, so I'm wondering if there is already any elegant solution for that? Can anyone think of a better approach? Or maybe an already-existing record that does something similar?
Thanks for any suggestions,
Marco
|
- Replies:
- RE: Storing passwords in records/Authenticating IOC with other servers Freddie Akeroyd - STFC UKRI via Tech-talk
- Navigate by Date:
- Prev:
React Automation Studio is there a repo available without examples, demos etc. Heinz Junkes via Tech-talk
- Next:
RE: Storing passwords in records/Authenticating IOC with other servers Freddie Akeroyd - STFC UKRI via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
<2024>
2025
2026
- Navigate by Thread:
- Prev:
React Automation Studio is there a repo available without examples, demos etc. Heinz Junkes via Tech-talk
- Next:
RE: Storing passwords in records/Authenticating IOC with other servers Freddie Akeroyd - STFC UKRI via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
<2024>
2025
2026
|
|
ANJ, 19 Mar 2026 |
·
Home
·
News
·
About
·
Talk
·
Base
·
Modules
·
Extensions
·
·
Distributions
·
Download
·
Documents
·
Links
·
Licensing
·
|