Oh, I mean a .htaccess file. However, I’m asking because what I used did not work for me.
I also did try Goodies >> Htaccess/WebDav except it introduces problems. Even though it prevents people from direct linking, it doesn’t allow you to add more images/pages to that particular directory that you link protected.
Thanks so much for replying to my question though!