EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20242025  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  <20242025 
<== Date ==> <== Thread ==>

Subject: Re: dbGetField AI.DPVT
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Wed, 24 Jul 2024 09:27:04 +0200
On Tue, 23 Jul 2024 at 20:17, Érico Nogueira Rolim via Tech-talk <tech-talk at aps.anl.gov> wrote:

Have you looked at IOC Access Security [1]? You could simply define an ASG which blocks all writes to your ai record. Something like:

ASG(READONLY) {
    RULE(1, READ)
}

Would that be enough for your purpose? The hardware, since it can use a different method to access the record (e.g. device support code, dbPutField in StreamDevice protocols, pvPut in sequencer running on the same IOC), should still be able to write to the record without issue.

Careful.
As you point out, local access is not going through the Access Security layer. Local access includes writing through database links from other records on the same IOC.
Nothing keeps you from using any other ao soft record on the IOC, setting its output link to point to the "secured" ai, and happily writing through that ao.

"IOC Access Security" is a measure against involuntary misclicking. It is not implementing authentication/authorization.
This is a very useful feature, don't get me wrong. Its name might just make you think it would be doing more.

Cheers,
~Ralph

References:
dbGetField AI.DPVT Dave Bracey via Tech-talk
Re: dbGetField AI.DPVT Johnson, Andrew N. via Tech-talk
Re: dbGetField AI.DPVT Dave Bracey via Tech-talk
Re: dbGetField AI.DPVT Érico Nogueira Rolim via Tech-talk

Navigate by Date:
Prev: Alarms' timestamp in EPICS Base Eusebio Naif Al-Soliman Fuentes via Tech-talk
Next: how to inititial VAL field in motor record Tran, Phi Dung 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  <20242025 
Navigate by Thread:
Prev: Re: dbGetField AI.DPVT Érico Nogueira Rolim via Tech-talk
Next: Alarms' timestamp in EPICS Base Eusebio Naif Al-Soliman Fuentes 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  <20242025 
ANJ, 11 Sep 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·