From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,221c79a973a7a93c X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-12-15 14:32:25 PST Path: nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!math.ohio-state.edu!uwm.edu!lll-winken.llnl.gov!usenet From: oberman@icaen.llnl.gov Newsgroups: comp.sys.dec Subject: RE: Security Problem? Date: Thu, 15 Dec 94 22:32:25 GMT Organization: Lawrence Livermore National Laboratory Message-ID: <3cqg21$b4s@lll-winken.llnl.gov> References: NNTP-Posting-Host: rogue.llnl.gov In Article pnord@exodus.valpo.edu (Paul Nord) writes: >We've got an interesting problem. One of our students wrote a VMS fortran >program to make a database using a direct access file. If he adds a data >record with a large number, it creates a nice BIG file. The only problem is >that it does not initialize the file. He gets a BIG file that contains >other people's mail messages, directory listings, news articles, and many >lines of junk. > >Why doesn't the system clear information from the filespace before it writes >this monster file? I can think of lots of reasons that it _should_ zero out >any data space that it assigns to a user. I would think that this should be >taken care of at the processor level. This is a deliberate configuration choice. By default VMS will clear the diskspace prior to delivering it to the end user, but this may be disabled by setting disks to /NOHIGHWATER_MARKING. The use of NOHIGHWATERMARKING qualifier became common as a performance enhancement in early VMS releases when the mechanism used to clear the old data was rather inefficient. VMS now does this very well, but old information dies hard. Tell you system manager SET VOLUME/HIGHWATER_MARKING and the data will be properly cleared. This only need be done once as it sets a bit on the disk to indicate the use of highwater marking, but there may be SET VOL/NOHIGH commands is the system startup script. R. Kevin Oberman Energy Sciences Network (ESnet) National Energy Research Supercomputer Center (NERSC) Lawrence Livermore National Laboratory (LLNL) Internet: koberman@llnl.gov +1 510-422-6955