September 07 2010 13:57:04
Navigation
Last Seen Users
Xoft00:06:34
bohdas00:16:06
Djordje00:19:12
Alorsss00:21:47
kyborgasfm00:22:27
pamises1600:41:42
nightgockel00:43:41
foc_in_gaura00:53:22
X-PaRaDoX-X00:54:55
nerazzurcho00:57:04

Members: 16,220
Newest: kyborgasfm
Blogs
Diemux
» 18-09-2009 - Say ...
Diemux
» 10-07-2009 - Will...
Diemux
» 24-06-2009 - Blog...
elyn
» Elyn + Streamyx (...
Diemux
» 19-05-2009 - Thin...
Diemux
» 15-05-2009 - Week...
Diemux
» 13-05-2009 - Comp...
elyn
» Number 1925
Diemux
» Number One
Things to Do
Latest Articles
A tour through the n...
Protect your Fusion ...
Change your database...
Handling MySQL Datab...
Admin Control Panel ...
How to Secure Your I...
Show Content by Defa...
v7 | Add social book...
v7 | Custom MySQL er...
How To: A PM after r...
v7 | SEO friendly UR...
v7 | SEO friendly UR...
Comments Advanced Vi...
Auto-redirect to the...
A tour through PHP-F...

View all articles
Downloads v7
Currently popular Downloads

FusionBoard 4 4011
Video Gallery 2868
Professional Down... 2568
Photoalbum Mass U... 2519
Avatar Studio 2348
Extended Profile 1898
Button panel 1865
XHTML mod for mod... 1863
VArcade 2.1 1833
HighSlide Gallery... 1800

Latest Downloads


Bosnian Locale - PHP... 4
Multimedia Studio ve... 25
Post-Report 1
Post Report with pd_... 0
XHTML mod for modern... 1863
Pimped-Fusion v0.08.01 23
Update Package v0.08.01 3
Support Panel-Skype 23
Header Weather Widget 82
Forum Thread List Pa... 34

Latest 100
Downloads v6
Currently popular Downloads

Banner System v2.0.4 1702
Video Gallery 1212
Extreme Theme Editor 916
Fuzed Shoutbox 815
Seoname.php 756
Icon Package 2.0 701
Extended Profile ... 659
News.php 585
EXTboard 552
Tabbed welcome panel 532

Latest Downloads


Google Sitemap Fast 56
ExtBoard 1.2 385
EXTboard 552
v6.01.18 - v6.01.19 33
v6.01.19 FULL 91
Birthday 123
Moneybookers 47
User info 104
Link to us 262
jNews.php 346

Latest 100
Provider
PHPfusion-mods.net is hosted at:

110MB
How to Secure Your Important Files
Protect your config file with easy but effective protection. This method can be used to protect all your important files.



The config file is the file that stores your databases username, password, and all that other important information that you site uses to connect to the db. Even though the config file is a php file it doesnt make sense to not do anything about it. Open a existing .htaccess file or create a new .htaccess, do not put anything in front of .htaccess.

Add the following code to the .htaccess file to protect the config file from being access by anyone.

<Files "config.php">
order allow,deny
deny from all
</Files>


Now we are going to protect the .htaccess itself by adding the following code to the .htaccess

<Files ".htaccess">
order allow,deny
deny from all
</Files>


Try accessing the config.php file and the .htaccess file, youll end up getting a 403 Forbidden page instead of a blank white page.



Tutorial written by Brandon
Comments
#1daftscouser on August 20 2009 00:59:33
daftscouser
Nice tut! Worked a treat.
Post Comment
Please Login to Post a Comment.
Ratings
Rating is available to Members only.

Please login or register to vote.

Awesome! Awesome! 50% [2 Votes]
Very Good Very Good 0% [No Votes]
Good Good 25% [1 Vote]
Average Average 0% [No Votes]
Poor Poor 25% [1 Vote]
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Our Coders
Smokeman
Rizald 'Elyn' Maxwell
Diemux
Netrix
Donate
Shoutbox
You must login to post a message.

06/09/2010 13:00
@smokeman: my shout was not adressed to a special person. Fusion-Mods and Fusion-Main sites have the same problems with stupid spammers. Wink

06/09/2010 10:02
@MarcusG: I agreed with you but I can't do anything about it. It's Diemux that stands for that part of the site.

06/09/2010 09:21
This SPAM really SUX, especially when there are solutions to fight it. I have NO (ZERO) Spam on my site.

06/09/2010 04:18
I think someone break Fusion captcha.

04/09/2010 09:32
Spam deleted.

04/09/2010 08:09
Try this to fight the SPAM: KLICK ME HARD Or THIS

04/09/2010 06:56
Spammm Alarm^^ Confused

31/08/2010 14:30
@Info: Cleaned up the shouts for support questions. Thumb Up!

30/08/2010 03:26
It's not my site - im just admin inhere. Smile

30/08/2010 02:29
Why not replace the Shoutbox with the Tagwall infusion Smokeman? Then put the Tagwall as a lower center panel. Just a suggestion..

Advertiser
One-click Translation
Translate This Site

Render time: 0.12 seconds 5,388,258 unique visits