Deny access to a folder

Recommended Posts

Vindicator209 1

Vindicator209 1

Theres a file on some computers called System Volume Information, and it can't be accessed, it gives you an error message, can that be done in autoit? I tried all of the FileSetAttrib attributes and none of them have the same effect...

I want [to make]a folder to do the same thing

Edited August 8, 2008 by VindicatorOmega

[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Share this post

Link to post

Share on other sites

spudw2k 164

spudw2k 164

Theres a file on some computers called System Volume Information, and it can't be accessed, it gives you an error message, can that be done in autoit? I tried all of the FileSetAttrib attributes and none of them have the same effect...

That is a special folder in Windows XP (2003 svr) That can only be accessed by the SYSTEM account. Is stores recovery info there like System Restore.

Share this post

Link to post

Share on other sites

JFee 0

JFee 0

Well if your user doesn't have permissions to do it, then no script you run will (unless its a system program). Why do you need to access that? Messing with system volume info will do nothing but make your computer unbootable Most of the time at least, but I'm curious as to what you are doing.

Share this post

Link to post

Share on other sites

Vindicator209 1

Vindicator209 1

no no, i'm not trying to acess it, i'm trying to make another folder to do the same, for example, my music folder cause i dont like people touching my music

plus this is my own personal computer, im admin. i save my system user for just-in-case situations

Edited August 8, 2008 by VindicatorOmega

[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Share this post

Link to post

Share on other sites

DW1 99

DW1 99

You can lock it down like PsaltyDS said, however even if you remove all permissions from the folder, whatever account created it will be the owner of the folder and has access to change the permissions. If you don't want people messing with that folder, make it only accessible by your account, and then log out when you are done, or just lock the machine. Setting ACL will only be security via obscurity, and if the user knows anything about computers, they know that they can just change the permissions if they are using your account.