Access files using system account

  • Thread starter Thread starter Juan
  • Start date Start date
J

Juan

Hi,

I'm developing a vbscript. The vbscript needs to access every file, or
folder, in the local hard disks. The script has only to access the
properties of the file (name, extension, size, etc.). The script
doesn’t need to access the content of the file.

The workstation can be used by several users, so one user can restrict
access to one folder only to him. For example, in the security tab of
a folder, the user can specify only his user. The user can remove any
other user including the SYSTEM user.

Would it be possible to access the folder, using a script executed by
the SYSTEM account, or any other account, if I remove the permissions
for the SYSTEM user?

Thank you very much.

Regards.
 
m:
I'm developing a vbscript. The vbscript needs to access every
file, or folder, in the local hard disks. The script has only to
access the properties of the file (name, extension, size, etc.).
The script doesn’t need to access the content of the file.

The workstation can be used by several users, so one user can
restrict access to one folder only to him. For example, in the
security tab of a folder, the user can specify only his user. The
user can remove any other user including the SYSTEM user.

Would it be possible to access the folder, using a script executed
by the SYSTEM account, or any other account, if I remove the
permissions for the SYSTEM user?

In general, if you removed permissions, then the System account could
not access it. By setting permissions, you can even block your access
to your own files. However, even if you don't have access/permissions
to a folder, any administrator still has the permission to change the
permissions. Scripts can be powerful, so as long as a script doesn't
change the permissions to allow itself access, I think you're OK.

HTH,
John
 
Back
Top