Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Web-App-Sec
[Top] [All Lists]

rewrite rule for apache

Subject: rewrite rule for apache
Date: Thu, 31 Aug 2006 15:22:31 +0200
I want to protect a directory, better to say its contents from people downloading it, if the are not coming from a specified page.
Now, i understand, that the following code redirect *vicodin.* to a standard error page.


RewriteEngine on
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)vicodin(-|.).*$ [NC,OR]
< ...lots of other rules go here...>
RewriteRule .* - [F,L]

What rewrite rules should i use if i want users from index.php?option=login to 
access the content and everyone else to redirected to the standard error page?
Is it even possible to use get style params in the referer field?

Thank you in advance
bituman

<Prev in Thread] Current Thread [Next in Thread>
  • rewrite rule for apache, bituman <=