Avatar billede sjoller Nybegynder
14. august 2001 - 22:40 Der er 6 kommentarer og
1 løsning

Virtual directory

Hvordan kan man \"låse\" brugere i deres respektive mappe som defineret i deres virtual directory.

Det jeg har nu er at brugeren kan gå op i parent indtil de kommer til root for sitet. Brugeren kan derfor ikke begrænses til kun at se deres \"egen\" mappe.

Det skal siges at jeg bruger Win2K Adv.Server\'s indbyggede FTP server og ønsker at fortsætte med dette.
Avatar billede dr.m Nybegynder
14. august 2001 - 22:42 #1
You remove the anonymous user from the virtual directory security tab (not the site)
and assign the appropriate NTFS permissions on the folder you wish to limit

M
Avatar billede sjoller Nybegynder
14. august 2001 - 22:49 #2
Hvordan sætter jeg så rettighederne for en mappe så at brugeren har access til subfolders, men ikke parent.

Alle mine FTP-brugere er samlet i en gruppe (FTP_user).
Avatar billede dr.m Nybegynder
14. august 2001 - 22:51 #3
I\'ll run a test on my server...
Avatar billede dr.m Nybegynder
14. august 2001 - 23:03 #4
ok. it can be done!

the nicest thing about win2k is that you ca really play with permissions inheriting.

first let me make sure I understand exactly what you want to achieve so I don\'t type a whole bunch for nothing.

I made on my server a site which is forbidden for a user www.xxx.dk yet www.xxx.dk/test (virtual directory) is viewable after inserting the password

is that it? parent no, child yes?

M
Avatar billede sjoller Nybegynder
14. august 2001 - 23:14 #5
correctomundo.... :-)
Avatar billede dr.m Nybegynder
14. august 2001 - 23:25 #6
ok then,

step 1. go to the site on MMC > properties > \"directory security\" tab > edit \"anonymous access and authentication control\" > remove \"anonymous access\" so that only \"integrated windows authentication\" is marked

step 2. go to the root folder of the site > NTFS security tab and remove the \"everyone\" group and... (here is the tricky part) to do so you need remove the hack from \"allow inheritable...\" at the bottom. when it prompts for options, choose \"copy\"

step 3. go to sub directory (child) and add the user you want to grand access too. again... no inheriting!

that\'s it. if you are ion doubt to rather you inherited permissions or not just check the properties again and make sure that the user exists on the sub folder but not in the parent.

the result - www.xxx.dk requires password but the users password won\'t work. www.xxx.dk/folder will also prompt for a password and it will work.

M
Avatar billede sjoller Nybegynder
26. august 2001 - 19:41 #7
virker stadig ikke... still not working...
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester