Access files using system account

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.
 
J

John Wunderlich

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top