Quantcast
Channel: BulletProof Security Forum » All Posts
Viewing all articles
Browse latest Browse all 12479

Reply To: htacces Order directive, Allow directive, Deny directive

$
0
0

Thanks for the detailed info. Yes, your description is exactly how I already understood the .htaccess Order rules to work.  I like your analogy of the light switch. I’m not proposing that the switch be both on and off at the same time. I’m simply proposing (wishing!) that there were a way to run the switch analysis a third time.

The current .htaccess process analyzes the light switch just twice. For example, with Order Allow,Deny… if an IP address is allowed in the Allow list, the switch is essentially turned “on” (…pending the analysis of the upcoming Deny list). Then the process analyzes the Deny list, and even if the IP is in the Allow list above, the Deny list will override that and the end result is that the IP address is denied.

So, the switch is turned on, then off. I would like one more step in which the switch can be turned back “on” for a true end-of-analysis whitelist after all the denies have been processed (yet still providing an “Allow from all” as the first default).  But I’m just repeating myself. It seems there is no way to do this in .htaccess, but I think there is a need for such a thing.

  • This reply was modified 2 days, 16 hours ago by  AITpro Admin.
  • This reply was modified 2 days, 15 hours ago by  AITpro Admin.

Viewing all articles
Browse latest Browse all 12479

Trending Articles