File: README

package info (click to toggle)
libapache-mod-auth-useragent 1.0-9
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 160 kB
  • ctags: 81
  • sloc: sh: 170; makefile: 148; ansic: 135
file content (22 lines) | stat: -rw-r--r-- 664 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
A couple of notes, first of all this is no a
great way to do security. Far from it actually.
Its trivial to change your User-Agent in most
browsers. So this really only works if people
play nice. There are a number of ways to do 
most things, this just happens to be another.
Here is an example:

<VirtualHost *>
    ServerAdmin root@localhost
    ErrorLog logs/dummy-host.example.com-error_log
    CustomLog logs/dummy-host.example.com-access_log common
    AuthUserAgentDeny *Mozilla*
<Location /test>
	AuthUserAgentAllow *Mozilla*
</location>
</VirtualHost>


Its pretty trivial, I hope it works for you.
	-Brian Aker  (brian@tangent.org)
	Seattle, Washington.