12-23-2007
Could some lateral thinking work?
Perhaps you could save the file encrypted, so that editing it has to be a 2-stage process.
Of course, your would have to decrypt it for use too.
Alternatively, you could secure the file so it could not be edited, and then use sudo to access it.
If you did a wrapper on the front, then that could take care of locking.
Another option would be to use NFS to share the file, and then mount it back with extra controls.
Or perhaps you could make the control files binary, so that they need a front-end of your choice to edit.
Or maybe a version control system (eg. RCS) could be used to check in and out the file.
But at the end of the day, essentially you've got a security situation - directory and file permissions should be set so that only designated and authorised persons have access to (view/edit) files, and anything that circumvents this is badly designed and/or implemented.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
Need to get the information if there is any tool on Unix for Archiving and retrival of documents automatically. Having the capbalilty to integrate with other systems. And provide the APIs which can be called from other Systems to facilitate automatic Archival and Retrieval.
Thanks &... (7 Replies)
Discussion started by: sanjeev0915
7 Replies
2. Infrastructure Monitoring
Dear All,
Any one used free monitoring tool on HP machines (unix) , what is the most easy to install and configure (MRTG, Cricket, or Zabbix) ?
Thanks in advance. (1 Reply)
Discussion started by: salhoub
1 Replies
3. Infrastructure Monitoring
Hi all,
Please let me know the most using, perfect unix monitoring tool and the link for downloading the tool. It should have network server monitoring on all aspect(working users, memory usage, working services, disk space etc).
Thanks
Rath (3 Replies)
Discussion started by: ratheeshp
3 Replies
4. Shell Programming and Scripting
I am searching for a automation testing tool which I can use for most of the UNIX platforms (AIX, Linux, HP UX, Solaris). The installation process of the application in all platforms is almost same. Are you aware of any automation tool (like WinRunner for Windows) to solve my problem? (5 Replies)
Discussion started by: unmanju
5 Replies
5. Red Hat
Hi,
We are going to migrate our Dataware House system from HP Tru64 UNIX to Red Hat Linux 5.
There are more than 500 shell scripts which are written in ksh.
The schedule is very tight.
So, I want to learn whether there is a tool that can help us find the incompatible shell scripts in... (2 Replies)
Discussion started by: franksubramania
2 Replies
6. Solaris
I am looking for a unix based ftptool. solaris 5.8 version (5 Replies)
Discussion started by: kgallagh
5 Replies
7. UNIX and Linux Applications
Hi
I wanted to convert some XLS files into CSV format in my UNIX box. Unix box is handling very important data which are related to data warehouse.It is fully optimized by installing minimum packages since server need more resources to handle reports generating.
Just for convert XLS files... (6 Replies)
Discussion started by: luke_devon
6 Replies
8. UNIX for Dummies Questions & Answers
Hello,
is there any tool where I can scan my netwrk and get all types of Unix servers? (2 Replies)
Discussion started by: fsmadi
2 Replies
9. UNIX for Dummies Questions & Answers
Hi Friends,
Is it possible to build a windows tool ( a java applet maybe? ) which can retrieve data and display after performing certain commands on unix servers ( simple grep / script output) after logging into putty console. I am on a company server so please bear that in mind. I might have... (23 Replies)
Discussion started by: srkmish
23 Replies
10. UNIX for Beginners Questions & Answers
hi,
I am searching for a native tool on MacOS that can increase the resolution of a group of image files whose aspect ratios (file width versus height) vary widely. There are numerous files so I don't wish to do this manually. Someone suggested the sips command with the resampling option but... (5 Replies)
Discussion started by: Godtookapicture
5 Replies
LEARN ABOUT MOJAVE
curl_getenv
curl_getenv(3) libcurl Manual curl_getenv(3)
NAME
curl_getenv - return value for environment name
SYNOPSIS
#include <curl/curl.h>
char *curl_getenv(const char *name);
DESCRIPTION
curl_getenv() is a portable wrapper for the getenv() function, meant to emulate its behaviour and provide an identical interface for all
operating systems libcurl builds on (including win32).
AVAILABILITY
This function will be removed from the public libcurl API in a near future. It will instead be made "available" by source code access only,
and then as curlx_getenv().
RETURN VALUE
If successful, curl_getenv() returns a pointer to the value of the specified environment. The memory it refers to is malloc()ed so the
application must free() this when the data is no longer needed. When curl_getenv(3) fails to find the specified name, it returns a null
pointer.
NOTE
Under unix operating systems, there isn't any point in returning an allocated memory, although other systems won't work properly if this
isn't done. The unix implementation thus has to suffer slightly from the drawbacks of other systems.
SEE ALSO
getenv(3C),
libcurl 7.54.0 February 03, 2016 curl_getenv(3)