Reading, But No Copying

kailanhw at aludra.usc.edu kailanhw at aludra.usc.edu
Sat Apr 14 12:37:55 AEST 1990


In article <1990Apr6.210922.5579 at gdwest.gd.com> macbeth at gdwest.UUCP (David Macy-Beckwith) writes:
#O.K., folks, here's the situation:
#
#Unix Flavor: SunOS 3.5
#
#Requirement: 
#
#Create a file which is readable (by vi, more, whatever) by 
#common-or-garden users BUT NOT COPYABLE. We need to let them examine, even print, the info, but not jury-rig some results by copying, 
#editing, and printing the file.

This seems impossible, especially, if some users use dial in and their
communication program may have record mode which can capture anything show
up on the screen.

#
#Comments:
#It would seem that read-only for the world/universe/others
#(004) would do the trick, but no, vi will read that puppy in and then
#let you copy it to your $HOME with no problems.

If there has no dial in or screen dump, you can write a shell script
to show the file only and detect anything illegal such as 'script'
which can catch anything show up on the screen.

#David Macy-Beckwith
#General Dynamics Data Systems Division, Western Center 
#Somewhere in or near San Diego
#UUCP: {decvax|ucsd|ucbvax}!sdsu!gdwest!macbeth 


| Opinion stated above is mine only and put your best judgement on it.        |
| Snail : kailanhw at usc.edu                          % flame > /dev/null       |
| "The job of a citizen is to keep his mouth open."    --- Gunter Grass       |



More information about the Comp.unix.questions mailing list