Search…

X3 Photo Gallery Support Forums

Search…
 
Lonesome Walker
Topic Author
Posts: 2
Joined: 05 Dec 2006, 06:39

Better secure your config files...

05 Dec 2006, 08:04

I think, you should integrate a .htaccess with
Code
<Files>
   Order allow,deny
   Deny from all
   Satisfy All
</Files>
in all your newer packages.
Why? Think a bit of security...
Now, the galery is safe, but what, if somebody will find a weak spot in your script? And this depends on settings in the INI-files?

You also can add:
Code
#force the html files to be executed as php files
AddType application/x-httpd-php .html	
AddType application/x-httpd-php .htm
for a bit more security...

Greets

Lonesome Walker
PS: Of course, the server should support this :wink:
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

06 Dec 2006, 12:28

There is nothing special in .ini files, then .htaccess is supported by apache only.
firedev.com