TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Pierre Vandevenne
from: Russell Coker
date: 1995-11-24 22:03:00
subject: A File Security Question

DM> easy enough to code a program which opens files and keeps them open and 
DM> perhaps a selective way (semaphores?) to close certain 
DM> files for access by 
DM> a specific task.
PV>selective is the key term. I can't find a way to be selective. And, as I
PV> understand semaphores, they would work from within one 
PV>program only. Maybe there is a way to implement something 

   No.  Named semaphores work across the entire system.  However named
pipes would probably be better suited to the task and they also work across
computers.  You could have the locking program running on the file
server...

PV>like that with shared memory or communication between the 
PV>application and the "locker" program. But that requires 
PV>some modifications to the base application. Something they 
PV>wouldn't want to do.

   You could possibly write a wrapper program which asks the locking
program to unlock the files and then runs the application in question...


   This method won't work too well if you want to lock many files.  The
lock/unlock process would be very slow and take lots of system resources.


  If you want a decent OS/2 security program then call Airtech Computer
Security on +61-3-9802-1912, or just get LAN Server advanced.


   cya
___
 X MR/2 2.0 NR X Mary had a little RAM -- only about a MEG or so.

--- Maximus/2 2.02
* Origin: Multi - 61-3-9739-7145 - multi.apana.org.au (3:633/363)
SEEN-BY: 620/243 632/103 341 348 998 633/154 260 362 363 371 373 374 634/384
SEEN-BY: 635/301 502 503 638/102 639/100 252 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 949 955 712/515 713/888 800/1 7877/2809
@PATH: 633/363 260 371 635/503 632/348 711/409 808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.