How do you stop users directly accessing files on a website in IIS

I want to stop users on the internet being able to enter this URL into a browser and access these files directly. How can I do this? for example: mysite/uploadedfiles/file1.txt. is there any iis rule? Please help me. windows-server-2008 iis iis-7.5 asp.net iis-8 …

Windows 2008 VPS via How do you stop users directly accessing files on a website in IIS.