[SQU] ACL & Password

From: Justin Willoughby <jbw@dont-contact.us>
Date: Fri, 15 Sep 2000 14:11:55 -0400

On Fri, Sep 15, 2000 at 05:14:34PM +0100, Jose Pedro Ribeiro wrote:
> Hi! Try adding a special user for yourself, maintaining the restrictions
> for the others :
>
> acl User src 192.x.x.x
> acl SITE url_regex www.site.com
> ....
> http_access allow User SITE
> http_access deny SITE
>
> This way the User created is the only one to access this site. Everybody
> else will have an access denied message when trying to access the
site. For
> the specific file extension, i haven't tried, but if you set acess for
> yourself only, you'll be able to download the files anyway.
> Hope this helps.
> Cheers.

 
This what I have tried:

acl admin proxy_auth jbw
acl httpxs urlpath_regex \.zip$ \.rar$ \.exe$

http_access allow admin httpxs
http_access deny httpxs
 
However it does not seem to be working. Going to any site prompts for a
password. I only want it to prompt for a password if it matches the httpxs
acl, what else should I try?

Thanks,

- Justin

> -----Original Message-----
> From: Justin Willoughby [mailto:jbw@justinw.net]
> Sent: sexta-feira, 15 de Setembro de 2000 16:37
> To: squid-users@ircache.net
> Subject: [SQU] ACL & Password
>
>
> OK,
>
> I have not yet worked with any sort of authentication with Squid. All
users
> have the same sites blocked via acl's. However I would like to add the
> following to my squid.conf:
>
> acl httpxs urlpath_regex \.zip$ \.rar$ \.exe$
> http_access deny httpxs
>
> But I need to be able to access and download files with these
> extensions. Is it possible to have some sort of simple authentication
for
> this and only this acl? A simple htpasswd file would be fine, or some
> thing similar. Is this possible, to have the browser prompt you if you
try
> and download this type of file, otherwise leave you alone? If there is
> some documentation which explains this I am sorry, I have been very very
> busy and its been a while since I read the faq or documentation for
Squid.
>
> Thanks,
>
> - Justin
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Failure is not an option. It comes bundled with your Microsoft product.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Justin Willoughby justin@justinw.net Jesus is Lord!
> <<<<<<<<<<>>>>>>>>>> http://justinw.net <<<<<<<<<<>>>>>>>>>>
>
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Where do you think you're going today?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Justin Willoughby justin@justinw.net Jesus is Lord!
<<<<<<<<<<>>>>>>>>>> http://justinw.net <<<<<<<<<<>>>>>>>>>>

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Fri Sep 15 2000 - 12:18:15 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:55:19 MST