FTP question

Hello :o

does someone know how i can password a folder on my ftp?
What i need is that if people for example go to www.random.com/randomfolder
that they are asked to input a username and password.

tyvm