?
Solved

Change Windows ACLs

Posted on 2010-09-07
6
Medium Priority
?
513 Views
Last Modified: 2012-05-10
Change Windows ACLs or Accessing files from Sys_Vol_Inf
A part of the question from this links;
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_25871114.html
http://www.experts-exchange.com/Programming/Editors_IDEs/Delphi/Q_24046705.html

That's right the real question is how to access files from protected Sys_Vol_Inf folder, even if you are not an administrator account.

code snippet;
fext3 := ExtractFiledir(PathFile);
po:= ansipos('System Volume Information', fext3);
if po>0 then
begin
TakeOwnership(PChar(fext3));
//showmessage(PathFile);
//Access / ScanS files here
end;

IS that all for winxp?


What about for win7?
expert "sas13" quote:
>>try to change access (Properties->Security page) from Windows
huh?
0
Comment
Question by:systan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
6 Comments
 
LVL 9

Accepted Solution

by:
sas13 earned 2000 total points
ID: 33617406
you must be an administrator (in "Administrator" group in Windows) for doing it
0
 
LVL 14

Author Comment

by:systan
ID: 33617563
What about if the application running and accessing sys_vol_inf is not on the administrator mode, is there any option to access files from sysvol_inf?
0
 
LVL 14

Author Comment

by:systan
ID: 33618204
>>What about if the application running and accessing sys_vol_inf is not on the administrator mode, is there any option to access files from sysvol_inf?
And how about this post, it says something about;
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_23853922.html
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 14

Author Comment

by:systan
ID: 33618331
senad says
if on W7 then you need to disable UAC. ?  is that so?  But my first concern is in windows xp first.
So,
>>What about if the application running and accessing sys_vol_inf is not on the administrator mode, is there any option to access files from sysvol_inf?
And how about this post, it says something about;
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_23853922.html
0
 
LVL 14

Author Comment

by:systan
ID: 33624716
I don't know if Aflarin' listening, but I know he can clear this out, I'm not asking of the code, because I have already the code, the fact is how am I going to use it, where when.
Like this code snippe?t;

fext3 := ExtractFiledir(PathFile);
po:= ansipos('System Volume Information', fext3);
if po>0 then
begin
TakeOwnership(PChar(fext3));
//showmessage(PathFile);
//Access / ScanS files here
end;
?
0
 
LVL 14

Author Closing Comment

by:systan
ID: 33690798
sas13;
The answer is not completely detailed, about accessing files from Sys_Vol_Inf, anyway if you have time to write, please don't hesitate.

oh, whats the difference of your code in
http://www.experts-exchange.com/Programming/Editors_IDEs/Delphi/Q_24046705.html#23362733

and
this;
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_25871114.html#33598924


Thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month14 days, 3 hours left to enroll

801 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