If your site’s content is navigable for the FTP public users or for anonymous users then they’re likely to steal your media files like images, video or other files which are viewable by public. You need to disable the view feature in order to stop people from browsing your site. If you’re running wordpress or other content management system then chances are there these people can view your sources, plugins etc, and this is not safe for your site. But how can you stop them ?
Follow this simple hack to avoid people to browse your file manager folders on your hosted site. In this procedure i assume you’re using Linux hosting.
1. Login to your control panel (cpanel, helm or whatever)
2. Locate .htaccess file inside your public_html folder.
3. Open this file to edit it in text editor (web interface editor).
4. Copy and paste this -
Options -Indexes
5. Save the file.
Now your Linux hosted site can’t be viewed by anonymous users.
What about Windows ? I’m not using windows hosting service so it’s hard for me to resolve this. But you can add blank index.html page to distract them. This should work against average anonymous users. For better protection on your windows hosting ask your hosting support to guide you.
