jimlocigno
Programmer
Hi,
I have a feeling the answer to this question is no. But I thought I would ask just to be sure.
I have lookup file: so to speak "lookupfile.data" which contains various information. I also have a lookupfile_update.ksh script which is a Korn Shell script and allows add/change/delete operations via the command line:
Example: lookupfile_update.ksh add key1 info
Here's the question. Is there a way to set the security and or code the script to allow lookupfile_data to only be updated via the lookupfile_udpate.ksh script. In otherwords I do not want users directly editing lookupfile_data. Aside from the root user and similar higerlevel ids that I know could just overlay the file could (which is okay, because very users have that power anyway). Is there a way I could set this up. The one catch the lookupfile_data must be readable by everbody due to other processess that run.
Thanks
I have a feeling the answer to this question is no. But I thought I would ask just to be sure.
I have lookup file: so to speak "lookupfile.data" which contains various information. I also have a lookupfile_update.ksh script which is a Korn Shell script and allows add/change/delete operations via the command line:
Example: lookupfile_update.ksh add key1 info
Here's the question. Is there a way to set the security and or code the script to allow lookupfile_data to only be updated via the lookupfile_udpate.ksh script. In otherwords I do not want users directly editing lookupfile_data. Aside from the root user and similar higerlevel ids that I know could just overlay the file could (which is okay, because very users have that power anyway). Is there a way I could set this up. The one catch the lookupfile_data must be readable by everbody due to other processess that run.
Thanks