* Security Problem?
@ 1994-12-15 20:30 Paul Nord
1994-12-15 22:32 ` oberman
0 siblings, 1 reply; 2+ messages in thread
From: Paul Nord @ 1994-12-15 20:30 UTC (permalink / raw)
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.
Anyone know what's up with this?
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.
Paul
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: Security Problem?
1994-12-15 20:30 Security Problem? Paul Nord
@ 1994-12-15 22:32 ` oberman
0 siblings, 0 replies; 2+ messages in thread
From: oberman @ 1994-12-15 22:32 UTC (permalink / raw)
In Article <pnord.1137911044C@vunews.valpo.edu>
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-12-15 22:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-12-15 20:30 Security Problem? Paul Nord
1994-12-15 22:32 ` oberman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox