Solved

set permission of certain directory in NT

Posted on 2000-02-24
4
225 Views
Last Modified: 2010-04-02
how to use vc++ programming to set
the permission of certain director to administrator only. the hardisk is FAT ?
0
Comment
Question by:ttssiong
  • 2
  • 2
4 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 100 total points
ID: 2557986
If the FS is FAT, you're lost, as it does not store any security related information...

See
http://msdn.microsoft.com/library/devprods/vs6/visualc/vcsample/vcsmptakeownsample.htm

on how to do that programmatically.
0
 

Author Comment

by:ttssiong
ID: 2560470
if like that, is there any alternatives
that can set a file that only can be read by certain user only ???
0
 
LVL 86

Expert Comment

by:jkr
ID: 2561116
Only on NTFS - sorry if you don't like this kind of answer, but FAT simply doesn't store security information...
0
 

Author Comment

by:ttssiong
ID: 2561191
that's ok
u had given me the good url
thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Would like to move button in a function 3 72
AVI wait icons for CAnimateCtrl in Visual Studio 2008 MFC 1 119
C++ mouse_event mouse look 7 70
FMX TCameraComponent Problem 2 52
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now