Re: Password protect a folder
- From: "Slava M. Usov" <stripit.slough@xxxxxxx>
- Date: Mon, 4 Sep 2006 23:15:15 +0200
"JCDenton" <JCDenton@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BF52F79B-E608-4973-8632-EF90817F4323@xxxxxxxxxxxxxxxx
I'd still like to learn how to interact with the kernel to be notified
when there is an attempt to access a given file.
If you need "password protection", you need a lot more than just a
notification. You need to intervene into the file access path, which is a
lot more difficult, error prone, and adversely affects performance - as AV
users are increasingly aware these days.
This also poses a number of design issues that you need consider upfront.
For example, how should the system behave if there is NO human user to
prompt for the password? MULTIPLE human users? REMOTE human user? if the
operation is performed by the kernel without any security context? or from a
security context different than ANY of the current human users? if the
operation is network access?
There is also a silly issue with Windows Explorer: it opens files
automatically as soon as the user browses into a directory - it does that in
order to display nice icons and the custom info as may be configured, and it
may open files multiple times. If your system will blindly prompt the user
in this case, the user will not appreciate it - but then how do you know you
should or should not prompt the user?
S
.
- References:
- Re: Password protect a folder
- From: Slava M. Usov
- Re: Password protect a folder
- Prev by Date: Re: Problem with mutex - WAIT_ABANDONED return value
- Next by Date: Re: High Avg. Disk Queue Length - Memory Mapped File
- Previous by thread: Re: Password protect a folder
- Next by thread: Re: Password protect a folder
- Index(es):
Relevant Pages
|