order deny,allow
deny from all
allow from 192.168.1.1

# This is the whitelisting of the ajax handler
<Files admin-ajax.php>
    Order allow,deny
    Allow from all
    Satisfy any
</Files>

Leave a Reply

Your email address will not be published. Required fields are marked *