Re: Lock the folder(s) by coding
From: Robert Moir (bofh_at_mvps.org)
Date: 04/27/03
- Next message: Robert Moir: "Re: mupdate.exe error"
- Previous message: Robert Moir: "Re: Microsoft DS Service"
- In reply to: session: "Lock the folder(s) by coding"
- Next in thread: Narayanan Lakshmanan: "Re: Lock the folder(s) by coding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 27 Apr 2003 11:48:29 +0100
session wrote:
> I'm wondering how to lock some certain fokders by coding
> in VB .NET 2003 (To lock Windows folder(s) by assigning
> passwords for the folders to prevent the guests from
> entering or changing the contents or files in the folders
> such as system folder C:\WINDOWS)
>
> Does somebody know how to?
I'm not sure what you mean. Windows NT and it's successors (Win 2000, Win
XP, Win 2003) have the ability to secure a directory using NTFS access
rights to keep out unauthorised users. Some versions of these systems also
allow folders and files to be encrypted. These are operating system
functions and you might well be able to manipulate them from within a
program (ask on a programming newsgroup for details of how exactly) but I
don't think you can do much else - there is no facility in windows to
password protect a folder, and if you managed to write a program to do that
all i have to do is hit ctrl-alt-del, do an "end task" on your program, and
i've beaten it.
-- -- Rob Moir Microsoft MVP for Windows / Security www.robertmoir.co.uk
- Next message: Robert Moir: "Re: mupdate.exe error"
- Previous message: Robert Moir: "Re: Microsoft DS Service"
- In reply to: session: "Lock the folder(s) by coding"
- Next in thread: Narayanan Lakshmanan: "Re: Lock the folder(s) by coding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|