Chmod Permission In Yii Files--403 Forbidden Thing

Need help about proper permission in yii! things that i concerns is when i view the http://www.yiiframework.com/images/ or similar like that or in protected dir. it show the 403 Forbidden —

"Forbidden

You don’t have permission to access /images/ on this server.".

On the other hand in my situation when i want to view my dir. in browser it list all my files, its kinda unsecure… all i want is that instead of showing the list in dir. it should be like that with 403 forbidden thing…

That’s up to the webserver config… if you use apache that is set in the .htaccess file with something like


Options All -Indexes

But you need to study about those options and see what is right for you.