title: How to protect folders in public_html from visitors
body: <p>I need to keep all my files and folders of my website in public_html folder. There are some folders for javascript codes like 'Javascript' and css codes like 'CSS', 'Images' for images, etc. It is easy for any visitor to type just the folder address like '<a href="http://www.website.com/Javascript" rel="nofollow noreferrer">http://www.website.com/Javascript</a>' and he will have permission to see all my javascript codes. I want to restrict these folders from visitors and use only for my scripts which are uploaded in public_html folder. How can this be done? Please give solution for my scripts in public_html also, which will need to access those folders.</p>