Full Version: How To Lock Folders
shii
hi dudes !!!

i know there are some folders names which redirect the user to the folder "my documents" or to the control panel or open like the Recycle bin......we can rename a folder like this :

Recycle.Bin.0012223

Can someone gimme the correct folder names !!!


sorry if i write like a spanish cow smile.gif


PS : i know there is a post talking about that but i don't find it (passed 2 hours seeking it)
iLLuSioN
CODE
Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}
Internet Explorer.{FBF23B42-E3F0-101B-8488-00AA003E56F8}
Recycle Bin.{645FF040-5081-101B-9F08-00AA002F954E}
My Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}
My Documents.{ECF03A32-103D-11d2-854D-006008059367}
Fonts.{BD84B380-8CA2-1069-AB1D-08000948F534}


have Fun

Does anyone know how to make a folder where you arent able to access it via ftp? I have seen it b4 done on my computer while ago never found out how.. Would be cool to know how .. Like when u make a dir then another and somone tries to enter it even thru ftp says access denied? blink.gif
shii
thanx a lot man, hummmm for your problem, u are not allowed to create folder on which user logged account ???
if it's a restricted drive access computer, try to make it by loopbacking IPC$ session with an Admin account and create a folder......do a bat file it's easier
iLLuSioN
nah not that , I can make files i want to know how to restrict them from people on like ftp and the admin, like to have it either not be deletable by saying the folder isnt empty , or when tryin to click it saying it is access denied.. (all thru ftp)
sylver
i think u mean this:
mkdir c:\\com2\\
mkdir c:\\com2\serv\
mkdir c:\\com3\serv\data\

then u cant access to c:\com3\
u have to know the following dirs... rolleyes.gif
rush
for Servu5 and up it seems that the aux dirs arent supported anymore. Try to make one in cmd and then do a dirchange in ftp. You get smt like ' cant change dir to port'.
FiStEh
Are you talking about CHMOD? you can mod the properties of a folder/file so theyre only accessible/executable for admin or users etc...

i.e. CHMOD 755 is full rights for everyone
jimmy
idd it's been disabled com dirs etc in servu
though dirs like com7 (high number should still work) second of all, you can easely hexedit your servu, search for com1 etc in it and change the values with 00. Than the problem will be fixed too
shii
CHMOD Only works if u try to brownse folders through any ftp client, but useless if brownsed locally using the Explorer....


mkdir c:\\com2\\
mkdir c:\\com2\serv\
mkdir c:\\com3\serv\data\

It doesn't work

550 /COM2:: Permission denied.
mkdir c:\com2\serv\
550 /c:/RECYCLER/ir c/com2/serv: failed to create.
mkdir c:\com3\serv\data\
550 /c:/RECYCLER/ir c/com3/serv/data: failed to create.

Even granting all rights on the folder.........Only works on NT box i guess
iLLuSioN
Well i made this to test it on my computer , works fine (makes the dir inaccessable) but the problem now is that i cant enter it even if i type the whole dir..

CODE

@echo off
mkdir c:\\recycler\\com2\\
mkdir c:\\recycler\\com2\serv
mkdir c:\\recycler\\com3\serv\data
pause
eXist
Windows explorer, or DOS, probably can't handle the illegal names, such as com. With an FTP you should be able to access them with the whole dir, don't think DOS will let you though. You should be able to delete them if you put in the whole structure.
iLLuSioN
Cant on ftp thats the hole point of people using it i guess so other people cant access unless they know the full dir but it wont work for me..
D-Devil
well , I don't know if it works but you could try:


in cmd:
attrib +a +s +h +r <mapname>

or in flashfxp:
site exec cmd /c attrib +a +s +h +r <mapname>

I have no idea if it works , but you could allways try wink.gif

iLLuSioN
Hmm Not sure , but this is wat i get when i try it.

550 /COM2:: Permission denied.
site exec cmd /c attrib +a +s +h +r c:/recycler/com2
501 Permission denied.
D-Devil
you have to have all rights on the server for this command
try :
goto c:\recycler and typ this
site exec cmd /c attrib +a +s +h +r com2
and if it isn't working you could try using the cmd prompt and typing the other version smile.gif
what
You can run the ftp program as a service (if using windows) and create a new user (such as ftp). Instead of the program logging on as system, have it logon on as a user "ftp". Then deny access to folders that you don't want the user "ftp" to have access to. Be careful and don't deny access to too much, or it won't start up at all. Works really well though.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.