edd_protected_directory_htaccess_rules The edd_protected_directory_htaccess_rules filter allows you to change the rules placed in EDD’s .htaccess file for protecting file downloads. Full tutorial on using this filter.