| Author |
Message |
tourniqu3t Hangin' Around

Joined: Jan 16, 2009 Posts: 36
|
Posted:
Thu Feb 12, 2009 1:48 pm |
|
Can it protect Donate o-meter's config.php? Because it has database information too. Is that possible for me to add second link? Let me show you an example.
# -----------------------------------------------------------------------------------------------------
# Leave this block commented out unless HTTPAuth is NOT available in your NukeSentinel(tm) Admin Panel.
# This code is mainly for use with CGI Authentication and most servers do not require it.
# -----------------------------------------------------------------------------------------------------
# <Files admin.php>
# <Limit GET POST PUT>
# require valid-user
# </Limit>
# AuthName "Restricted"
# AuthType Basic
# AuthUserFile /home/Username/public_html/Foldername/.staccess
# AuthUserFile /home/Username/public_html/Foldername/modules/Donations/config.php
# </Files>
# -----------------------------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------------------------
Please write back and thanks |
|
|
|
 |
evaders99 Former Moderator in Good Standing

Joined: Apr 30, 2004 Posts: 3221
|
Posted:
Thu Feb 12, 2009 7:46 pm |
|
Should be able to, yes. I don't know why you need to, unless your config.php is outputting HTML or something |
|
|
|
 |
tourniqu3t Hangin' Around

Joined: Jan 16, 2009 Posts: 36
|
Posted:
Sun Feb 15, 2009 12:47 pm |
|
Because people could try to download config.php from that one. They will find database informations. |
|
|
|
 |
evaders99 Former Moderator in Good Standing

Joined: Apr 30, 2004 Posts: 3221
|
Posted:
Sun Feb 15, 2009 10:27 pm |
|
Why? It wouldn't download any data unless you don't have PHP installed |
|
|
|
 |
|
|
|
|