Re: Disable File Deletion/Hiding Folders
- From: "Alexander Grigoriev" <alegr@xxxxxxxxxxxxx>
- Date: Fri, 20 Oct 2006 08:13:18 -0700
What problem are you trying to solve, in the first place?
What you're asking for is how to code the way you think you should solve
your original problem, not about your original problem. Security through
obscurity won't work. File/folder hiding won't work. State your original
problem and the better solution may exist (or may not exist, it the
objective is unreasonable).
"tasleem" <tasleem@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:07147B43-D3DA-4C46-BEE7-C83CE22FE2C2@xxxxxxxxxxxxxxxx
thanks for ur kind help, now i had another solution i had found a software
on
the internet that hides the files and folder i mean thase are not shown in
the drive,but i m able to read and write through my code without the
password
or any thing like that,
how to hide the folder so that its icon is not visible.
"anton bassov" wrote:
Hi mate
i can make one part of my application as windows service only that part
that
does not allow the user to access folder.
what about if i protect that folder with the password,any related help
to
that.
Administrator can easily elevate its privilege level to that of a
LocalSystem account.
Please check the NG - on 2 occasions I presented the code that does the
above.
Therefore, your task is just infeasible -it is impossible to protect
access to your file in such
way that Admin cannot find this or that workaround......
Anton Bassov
tasleem wrote:
Thanks for reply
The your Application must run behalf its own user. If the Application
is an
interactive one you may impersonate Threads while accessing the FS, a
server
application can run be started from the Application User.
i can make one part of my application as windows service only that part
that
does not allow the user to access folder.
what about if i protect that folder with the password,any related help
to
that.
But: The Application User is also under the control of the
Administrator.
Even if the Administrator don't know the password, he may change it
to get
access.
"Gunter Prossliner" wrote:
Hello!
what my aim is that Anobody could not Delete the files from
respective Folder even the administrator,
You can deny Access to the Folder even for Administrators. But:
Administrators can always take the ownership of Files / Folders and
grand
himself the nessersary Permissions again.
only that is done through
my application
The your Application must run behalf its own user. If the Application
is an
interactive one you may impersonate Threads while accessing the FS, a
server
application can run be started from the Application User.
But: The Application User is also under the control of the
Administrator.
Even if the Administrator don't know the password, he may change it
to get
access.
GP
.
- Follow-Ups:
- Re: Disable File Deletion/Hiding Folders
- From: tasleem
- Re: Disable File Deletion/Hiding Folders
- References:
- Re: Disable File Deletion
- From: Günter Prossliner
- Re: Disable File Deletion
- From: anton bassov
- Re: Disable File Deletion/Hiding Folders
- From: tasleem
- Re: Disable File Deletion
- Prev by Date: Re: Using 2 sockets for performance
- Next by Date: Re: Multi-process and code segment
- Previous by thread: Re: Disable File Deletion/Hiding Folders
- Next by thread: Re: Disable File Deletion/Hiding Folders
- Index(es):
Relevant Pages
|