Welcome To Snipplr


Everyone's Recent Apache Snippets Tagged security



« Prev 1 Next »
  1. FAV

    .htaccess protect directory

    also requires an .htpasswd file to be created in a secure directory
    Apache 7 views posted 8 years ago by ropehead
  2. FAV

    http basic auth

    Apache 4 views posted 9 years ago by neoandroid
  3. FAV

    http auth via mysql

    Apache 4 views posted 9 years ago by neoandroid
  4. FAV

    Limit access by IP address

    Apache 7 views posted 9 years ago by neoandroid
  5. FAV

    .htaccess: No password for sub folder

    Placing this in a .htaccess file in a sub folder you disable password security for this folder.
    Apache saved by 4 people 6 views posted 9 years ago by arnekolja
  6. FAV

    .htaccess deny access to xml files

    Apache 5 views posted 9 years ago by beneberle
  7. FAV

    htaccess - disallow linking to images from outside your site

    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...
    Apache saved by 6 people 8 views posted 9 years ago by josephknight
  8. FAV

    WordPress - .htaccess - protect config file

    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...
    Apache 7 views posted 9 years ago by josephknight
  9. FAV

    WordPress - .htaccess - block injection attacks

    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...
    Apache saved by 12 people 7 views posted 9 years ago by josephknight
  10. FAV

    Disable hotlinking of images

    Apache saved by 6 people 5 views posted 9 years ago by jeromegamez
  11. FAV

    Hardening Wordpress

    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...
    Apache saved by 4 people 4 views posted 10 years ago by occam
  12. FAV

    Prevent Access to multiple file types

    This is good to add to folders which are chmod to 777.
    Apache saved by 2 people 4 views posted 11 years ago by luizlopes
  13. FAV

    force SSL in your site

    Apache saved by 12 people 7 views posted 11 years ago by iTony
« Prev 1 Next »