[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 516
  • Last Modified:

Change Windows ACLs

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
systan
Asked:
systan
  • 5
1 Solution
 
sas13Commented:
you must be an administrator (in "Administrator" group in Windows) for doing it
0
 
systanAuthor Commented:
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
 
systanAuthor Commented:
>>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
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!

 
systanAuthor Commented:
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
 
systanAuthor Commented:
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
 
systanAuthor Commented:
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now