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
Solved

Change Windows ACLs

Posted on 2010-09-07
6
509 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
  • 5
6 Comments
 
LVL 9

Accepted Solution

by:
sas13 earned 500 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
drawing animated level bar based on numbers 3 103
how to update exe applicatio from internet ? 6 85
RESTRequest Parameter 4 41
DBCtrlGrid, Delphi, Scroll 8 33
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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

789 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