How do I protect files?

I would like to protect the files on my website.

Specifically, when a user types the full address to one of my javascript files I don't want them to be able to download the file.

Currently, if the user types in a folder name they get a 403 error however, if they know what the file name is called they can type this full address in and get to a download screen.

Is there anyway to prevent users from downloading external javascript files?

Thanks.

 

 

 

 

Top