Welcome To Snipplr
Everyone's Recent Apache Snippets Tagged security
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
also requires an .htpasswd file to be created in a secure directory
0
619
posted 12 years ago by ropehead
Placing this in a .htaccess file in a sub folder you disable password security for this folder.
2
660
posted 13 years ago by arnekolja
Replace "mysite" with your own and this will block access to sites attempting to link to your images. Note, it's not necessarily always a bad thing for people to link to your images. If you run a blog, portfolio, or sales gallery, etc, you may actual...
2
682
posted 13 years ago by josephknight
The problem
As a WordPress user, you probably know how important the wp-config.php file is. This file contains all of the information required to access your precious database: username, password, server name and so on. Protecting the wp-config.php...
0
567
posted 13 years ago by josephknight
The problem
Protecting dynamic websites is especially important. Most developers always protect their GET and POST requests, but sometimes this is not enough. We should also protect our blog against script injections and any attempt to modify the PH...
3
722
posted 13 years ago by josephknight
In addition to the recommendations on the Wordpress Website.
Limit the amount of PHP files that a writable by Apache. The directory's and files that need to be writable, do not always need to be executed by PHP directly.
This makes it a bit har...
1
519
posted 14 years ago by occam
« Prev 1 Next »