keeping safe assets folder in codeigniter -


hi have assets folder has following folder inside of css, images, uploads, , js folder put assets folder outside application. im wondering how keep safe when users tried type in url example http:/test.com/assets redirect application folder or says page not found. cause ive noticed when type in url http://test.com/assets go assets folder , vulnerable , people see folders in assets folder. can me figued thing out? muchly appreciated.

if want secure folder 1 create html file

<html> <head>     <title>403 forbidden</title> </head> <body>  <p>directory access forbidden.</p>  </body> </html> 

and save index.html , put on assets folder whenever try access url http://test.com/assets index file execute , shows directory access forbidden.


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -