opi: Sichtbarkeit von Quellcode im Browser (Sicherheit)

Beitrag lesen

Hallo Christian,

ich möchte nochmal 100% sicher sein.

Folgende Verzeichnisstruktur habe ich:

/anydir/web/cgi/
/anydir/web/css/
/anydir/web/img/
/anydir/modules/
/anydir/config/
/anydir/auth/

In meiner httpd.conf ist folgendes eingerichtet:

Alias /public/ /anydir/web/

<Directory /anydir/web/css/>
    Options None
    AllowOverride None
    Order deny,allow
    Allow from all
</Directory>

<Directory /anydir/web/cgi/>
    Options +ExecCGI
    AllowOverride None
    Order deny,allow
    Allow from all
</Directory>

<Directory /anydir/web/img/>
    Options None
    AllowOverride None
    Order deny,allow
    Allow from all
</Directory>

Niemand kann also auf modules, config und auth zugreifen. Richtig?

Greez,
opi

--
Selfcode: ie:( fl:( br:^ va:) ls:] fo:) rl:( n4:? ss:| de:] ch:? mo:|