redirect script

Protecting your Linux box

redirect script

Postby venky145 » Mon Sep 06, 2010 7:09 pm

hi


hai every one. i want small help.

i am using linux server for internet ( NAT + squid ) + postgres for database mainten.

I have web authentication for all users with username and password.

authentication is like http://192.168.1.1

is there any possible to redirect like if they client browse any website its redirects to login page if they doesn't logged in.
venky145
Havaldaar
 
Posts: 118
Joined: Thu Jan 13, 2005 2:35 pm
WLM: ranga72
Yahoo Messenger: venky145
Location: qatar

Postby mudasir » Fri Sep 17, 2010 2:10 pm

Dear,

You should a squid redirector or squid rewrite program. Google for squid rewrite script or squid redirector. You will get many. And if you want you can write your own custom redirector, i did this about 2 years back, you can use BASH or any other scripting language that suits you.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
mudasir
Captain
 
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Website: http://www.crystalnetworks.org
Location: Dubai


Return to “%s” Security

Who is online

Users browsing this forum: No registered users and 1 guest

cron