setuid, locked data, security

From: Date: Mon, 30 Sep 2002 11:35:49 +0000
Subject: setuid, locked data, security
Groups: php.general 
Request: Send a blank email to php-general+get-118186@lists.php.net to get a copy of this message
Hi, I have an account at a sun server. Until now I've used perl to write CGI scripts. Is there a possibility to prevent files and directories from being read by other users (NFS). Since I'm not root I do not have the possibility to use POSIX functions to set the UID of the current process to my own. This would make it possible to set files as -rw------- so that no one can read it, just the script itself (which is set to -rwsr-xr-x). Setting the setuid flag of a PHP script doesn't make sense, I guess. Is there any alternative?? Any help would be appreciated! Best Regards, :-)hris -- Christian Kaiser

« previous php.general (#118186) next »