Re: Disable File Deletion/Hiding Folders



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.



"Günter 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





.



Relevant Pages

  • Re: SBS 2003 folder redirection, offline files, ..and more
    ... The challenge is to have my doc's redirection enabled for the desktops, ... few of my users use the home folder for any purpose they wish, ... magically see my docs on the server. ... need access for the Administrator account, ...
    (microsoft.public.windows.server.sbs)
  • Re: Read only access to word files on intranet
    ... I am logged on to the server itself as Administrator and have installed MS ... Roland Schorr & Tower ... R/O on the Inetpub folder on the server and it baulked at the first ...
    (microsoft.public.windows.server.sbs)
  • Re: User Account Suddenly Unaccessable
    ... me that only the Administrator has access to the CWLee profile folder. ... The Sharing tab has "Do not share this folder" checked, ...
    (microsoft.public.win2000.general)
  • Re: User Account Suddenly Unaccessable
    ... As I started to type the second command, ... I get two error messages. ... Contact your network administrator. ... It tells me that only the Administrator has access to the CWLee profile folder. ...
    (microsoft.public.win2000.general)
  • Re: User Account Suddenly Unaccessable
    ... Modify the registry so that it points at the correct folder. ... - Log on as administrator ... The Sharing tab has "Do not share this folder" checked, ... In the middle section none of the "permissions" categories have any ...
    (microsoft.public.win2000.general)

Loading