RE: allowing only javascript but preventing all else

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: RE: allowing only javascript but preventing all else

will this work if i just wanted to restrict access to specific types of files like say js or flvs?
but continue to password protect the entire docroot?


-----Original Message-----
From: Ricky Zhou [mailto:ricky.zhou@xxxxxxxxx]
Sent: Fri 8/3/2007 4:09 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: allowing only _javascript_ but preventing all else

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Henry Cavillones wrote:
> Im looking to make an entire site password protected, except for some
> embed codes that get processed from publisher sites.
>
> The password protection should not interfere with serving the publisher
> _javascript_ code that resides at some subdirectory underneath the docroot.
Just make everything Require valid-user, but use Satisfy Any, and set
Allow from all on just that subdirectory.

For reference and an example, see
http://httpd.apache.org/docs/2.2/mod/core.html#satisfy

Hope this helps,
Ricky
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGs4tgZBKKLMyvSE4RAi8cAKCmClu8dUKP0bYqf4hfxX52hhE4YgCg41vy
bXEImOYKHLGlPFBZiHp4U08=
=rtXJ
-----END PGP SIGNATURE-----


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux