Locking a folder or drive?

Greetings, is there a way that i can lock a folder in Windows 2000 so that only an administrator can access them? Any help would be greatly appreciated. Thank you :slight_smile:

You can try NOT crossposting :sigh:

And in Win2k I don’t know, but in WinXP theres an option in there for that if you Right Click and choose “Properties”

Ok, thank you, i’ll delete that one from serverside/scripting.

yes


go to properties > security > and deny the ‘read’, ‘execute’ and all the other on the list for all user groups except administrators :slight_smile:

Thanks Ahmed, greatly appreciate it! :A+: :thumb:

Definition of Exploit: An exploit is a hole found in a program. Any program and any hole. By hole i mean a bug in the program that lets you get away with something your not supposed to. hehe. :slight_smile:

There is an exploit that I found while messing around in DOS back in the day when i was still a “baby” hacker and couldn’t program or do anything “kewl”. I don’t remember if I actually discovered it or read it somewhere. I seriously can’t remember that far back. Sorry.

How it works:

First go to your main hard drive. (This can be accomplished by going to My Computer, Double-clicking your main hard drive, which is usually C:). Then create a new folder and name it one short word only. I suggest you name it “private” or something like that. Just keep it kinda short. Then just move all your “private” files into the new folder that you have just created. Then after you have moved all your old files into the new folder. Go back to the c:/ drive. (this can be accomplished by going to my computer again and double-clicking your main hard drive.) Then once it is open, goto “Start”, “Run”, the type in “command” without the quotes. A black ugly box should pop up and now you are going to have to perform the hardest part. (gasp)

You are going to have to type in:

rename foldername (hold down alt and enter 255)newname

Here is an example using a folder named private:
rename private (ALT+255)private

Make sure there is a space between rename and foldername and another space between foldername and ALT+255foldername. Those are the only spaces that are supposed be there.

Why do you have to hit ALT+255? Because this is a security hole that makes this whole exploit possible. You know how you can get special characters by typing in ALT + anumber to get different characters. Look, try hitting ALT+ 0169 anywhere you can type text and see what you get. See how you get this character: ©
Pretty kewl huh? See, back in the day of DOS Alt+255 was nothing but a space. But then later on when Windows came out, some programmer someday changed it to where it would give you this character: _ . So you see, Windows is not programmed to see the ALT+255 from the DOS days, so if you name a folder in DOS with ALT+255, windows doesn’t know what the hell that is so then it just says that it cannot open that folder. While all your files are safely stored inside. There is no way through windows to access that folder. Now, while no one is looking, you want to regain access to your private folder right?
Well you need to go to DOS again (“Start”, “Run”, type in “command” without the quotes.) and then make sure that you are just in C:\ . If it says something else like C:\windows or something like that then you need to enter the command: CD\ which will take you back to your main hard drive. ) And now you enter:

rename (ALT+255)foldername foldername

Using my example of the folder private you would enter:

rename (ALT+255)private private

You are just renaming it back to normal under DOS. Then you can just exit the DOS window and go through windows to access your private folder with your private files. Then when you are done using at your private files just repeat the steps you used to make it unaccessible to windows. Cool exploit huh? I think so. I find it useful. Well i’m off to write another tutorial. So laterz.

That should keep anyone from viewing, accessing or even knowing about your folder and files within it.

wow
 interesting method
 have you tested it? :slight_smile:
bit of a long way round to do it, but a cool way nonetheless :slight_smile:

yeah well, it’s not so long when you get to it, it’s just b/c of the text and all explaining that it looks so boring and long.

mmmh. but since everyone know this exploit - it’s not an exploit anymore =)

I hardly doubt the people here on kirupa will go home to cybergold and unlock his folders :stuck_out_tongue:

also, dunno about you lot, but the rest of my house is filled with pc n00bs and semi-n00bs :slight_smile:

This no longer works under the current windows systems. (2000, XP, 98SE) 2000 and XP will not let you rename a folder in such a manner, and 98SE they fixed the code (which shocked me :slight_smile: ) so you could open the folder in explorer. Although back in the day it was great to hide the doom folder from the teachers in the computer lab. =0)

Cheers!
-Niann

yeah, I just tried it on my w2k system
 doesnt work :frowning:

Hi all, dont know if this is an effective methot, but i have one to hide ur files and other content, does’nt matter if u r hiding or showing the hidden files of ur system( folder options )
It will never show the content of ur folder, but ya, one can enter and detele it for sure


Method wich s-fx was talking of, ye it works in 98 only and guess wat i can break into ur those secured folder too, all i need is a self written .bat file, it’s not much of a exploit, never was:P

But ya there was a software called magic folders, it works perfect in windows 98, dont know if they have updated it n made it compatible for 2k and xp, guess i have to search n findout


Coming back to the method, this one just hides the content of the folder, you can view it if u know the path, can delete it, but anyway
here goes


Browse to the folder u want to hide the content of


right click in the opend folder n choose “Customize this folder” option and click on next

Now u have " what wud u like to do"msg in front of u


Choose customize radio button and check on the first option ONLY
(CHOOSE OR EDIT AN HTML TEMPLATE FOR THIS FOLDER) CLICK NEXT


Choose a template, use standerd and CHECK THE OPTION OF I WANT TO EDIT THIS TEMPLATE.

After clicking next ur default html editor will appear in front of u, i have microsoft frontpage, well watever u have just enter the html code.

Now u r viewing the html code, just scroll to the bottom end of the page u will see

<object id=FileList classid=“clsid:1820FED0-473E-11D0-A96C-00C04FD705A2” tabIndex=1>
</object>
</body>
</html>

this^ code

All u have to do is make a small change in it,

wich is adding !-- in before the object opening code
and --! at the end of the finishing object code.

Now ur code shud look like this

    &lt;!--object id=FileList classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2" tabIndex=1&gt;
    &lt;/object--!&gt;

save the changes, exit the editor and see the results =)

lets keep this post alive, i will come up wid some cool stuff on this soon, meanwhile u guys can look for magic folders xp and 2k edition

(psst
 dont look for the crack, mf ppl post fake cracks on all the crack sites, if u apply them it can crash ur windows and generate a virus too, so u never kno but hey u can reset the date and it will work smoothly, is’nt it strange:-S)

go to properties > security > and deny the ‘read’, ‘execute’ and all the other on the list for all user groups except administrators

Hi all, dont know if this is an effective methot, but i have one to hide ur files and other content, does’nt matter if u r hiding or showing the hidden files of ur system( folder options )
It will never show the content of ur folder, but ya, one can enter and detele it for sure


Method wich s-fx was talking of, ye it works in 98 only and guess wat i can break into ur those secured folder too, all i need is a self written .bat file, it’s not much of a exploit, never was:P

But ya there was a software called magic folders, it works perfect in windows 98, dont know if they have updated it n made it compatible for 2k and xp, guess i have to search n findout


Coming back to the method, this one just hides the content of the folder, you can view it if u know the path, can delete it, but anyway
here goes


Browse to the folder u want to hide the content of


right click in the opend folder n choose “Customize this folder” option and click on next

Now u have " what wud u like to do"msg in front of u


Choose customize radio button and check on the first option ONLY
(CHOOSE OR EDIT AN HTML TEMPLATE FOR THIS FOLDER) CLICK NEXT


Choose a template, use standerd and CHECK THE OPTION OF I WANT TO EDIT THIS TEMPLATE.

After clicking next ur default html editor will appear in front of u, i have microsoft frontpage, well watever u have just enter the html code.

Now u r viewing the html code, just scroll to the bottom end of the page u will see


<object id=FileList classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2" tabIndex=1>
        </object>
    </body>
</html>

this^ code

All u have to do is make a small change in it,

wich is adding !-- in before the object opening code
and --! at the end of the finishing object code.

Now ur code shud look like this


        <!--object id=FileList classid="clsid:1820FED0-473E-11D0-A96C-00C04FD705A2" tabIndex=1>
        </object--!>

save the changes, exit the editor and see the results =)

lets keep this post alive, i will come up wid some cool stuff on this soon, meanwhile u guys can look for magic folders xp and 2k edition

(psst
 dont look for the crack, mf ppl post fake cracks on all the crack sites, if u apply them it can crash ur windows and generate a virus too, so u never kno but hey u can reset the date and it will work smoothly, is’nt it strange:-S)

Hi all, dont know if this is an effective methot, but i have one to hide ur files and other content, does’nt matter if u r hiding or showing the hidden files of ur system( folder options )
It will never show the content of ur folder, but ya, one can enter and detele it for sure


Method wich s-fx was talking of, ye it works in 98 only and guess wat i can break into ur those secured folder too, all i need is a self written .bat file, it’s not much of a exploit, never was:P

But ya there was a software called magic folders, it works perfect in windows 98, dont know if they have updated it n made it compatible for 2k and xp, guess i have to search n findout


Coming back to the method, this one just hides the content of the folder, you can view it if u know the path, can delete it, but anyway
here goes


Browse to the folder u want to hide the content of


right click in the opend folder n choose “Customize this folder” option and click on next

Now u have " what wud u like to do"msg in front of u


Choose customize radio button and check on the first option ONLY
(CHOOSE OR EDIT AN HTML TEMPLATE FOR THIS FOLDER) CLICK NEXT


Choose a template, use standerd and CHECK THE OPTION OF I WANT TO EDIT THIS TEMPLATE.

After clicking next ur default html editor will appear in front of u, i have microsoft frontpage, well watever u have just enter the html code.

Now u r viewing the html code, just scroll to the bottom end of the page u will see

[AS]
<object id=FileList classid=“clsid:1820FED0-473E-11D0-A96C-00C04FD705A2” tabIndex=1>
</object>
</body>
</html>
[/AS]

this^ code

All u have to do is make a small change in it,

wich is adding !-- in before the object opening code
and --! at the end of the finishing object code.

Now ur code shud look like this

[AS]
<!–object id=FileList classid=“clsid:1820FED0-473E-11D0-A96C-00C04FD705A2” tabIndex=1>
</object–!>
[/AS]

save the changes, exit the editor and see the results =)

lets keep this post alive, i will come up wid some cool stuff on this soon, meanwhile u guys can look for magic folders xp and 2k edition

(psst
 dont look for the crack, mf ppl post fake cracks on all the crack sites, if u apply them it can crash ur windows and generate a virus too, so u never kno but hey u can reset the date and it will work smoothly, is’nt it strange:-S)