.htaccess or Hypertext Access files are most commonly found on Apache web servers and are used to give different access rights to the file directory that it is placed in. Below is an example of a common .htaccess file used in wordpress:
<IfModule mod_security.c>
# Turn off mod_security filtering.
SecFilterEngine Off# The below probably isn’t needed, but better safe than sorry.
SecFilterScanPOST Off
</IfModule>
This allows all rights to the directory. It should be saved using a text editor [such as ‘Notepad’ found in Microsoft Windows] and saved as .htaccess and moved to the default directory of your web server. All the directories below it in the server will follow the settings of this file, however, you canchange t hese per directory.