When I browse to my website and I do inspect element in google chrome, by selecting sources tab I can get list of all folders of my website. Infact, I get their original name and I can download whole website code.
I just want to hide true folder name as people can use that folder name to browse internal website
How can I prevent this? I have already listed Options -Indexes in .htaccess file.
I am working on Joomla and using Amazon EC2 Ubuntu Server so I have full control over server.
Edit: Thanks to Pt. Raman Sharma and LaughingQuoll. I don't really want to hide css or js. I just want to hide true folder name as people can use that folder name to browse internal website
Edit: My .htaccess file:
IndexIgnore *
Options +FollowSymlinks
Options -Indexes
RewriteEngine On
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule .* index.php [F]
RewriteBase /
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]