Hi,
In our organization we use following .pac file for internet access.
If the network admin has given access to my login ID am able to access
net else it pops a dialog to add user name and password. If I enter a
login id and password of somebody who got net access it works else if
I enter id and password of somebody who is not having net access it
does not work. Is it possible to access net without letting the admin
know?
**********************************************************************
function FindProxyForURL(url,host)
{
{
/*Redirection to Local*/
if ( shExpMatch(url, "*ccdservicedesk.ad.infosys.com*")||
shExpMatch(url,
"http://localhost:8080/something.html*")
)
return "DIRECT";
if ( isPlainHostName(host)||
shExpMatch(url, "*172.25.*.*")||
shExpMatch(url, "*172.21.*.*")||
shExpMatch(url, "*192.168.*.*")||
shExpMatch(url, "*157.170.*.*")||
shExpMatch(url, "*204.4.54.*")||
shExpMatch(url, "*204.4.55.*")||
shExpMatch(url, "*204.4.56.*")||
shExpMatch(url, "*204.4.57.*")||
shExpMatch(url, "*204.4.58.*")||
shExpMatch(url, "*204.4.59.*")||
shExpMatch(url, "*206.236.130.*")||
shExpMatch(url, "*206.236.131.*")||
shExpMatch(url, "*206.236.139.*")||
shExpMatch(url, "*206.236.140.*")||
shExpMatch(url, "*206.236.141.*")||
shExpMatch(url, "*192.168.203.32")||
shExpMatch(url, "*194.78.73.*")||
shExpMatch(url, "*164.164.86.100*")||
shExpMatch(url, "*10.10.0.0*")||
shExpMatch(url, "*ad.infosys.com*")||
shExpMatch(url, "*.inf.com*")
)
return "PROXY 172.25.232.27:8080";
/*Redirection to Internet Sites via VSNL Proxy*/
else if (
shExpMatch(url, "*.icicibank.com*")||
shExpMatch(url, "*.icicibank.co.in*")||
shExpMatch(url, "*.icici.com*")||
shExpMatch(url, "*.ibm.com*")||
shExpMatch(url, "*.nectarjaal.help.com*")||
shExpMatch(url, "*.hewitt.com*")||
shExpMatch(url, "*.bestemployersindia.com*")||
shExpMatch(url, "*.indianrail.gov.in*")||
shExpMatch(url, "https://client.infosys.com*")||
shExpMatch(url, "*.kamadhenutravel.com*")||
shExpMatch(url, "*.iciciconnect.com*")
)
return "PROXY 203.200.198.98";
else if (
shExpMatch(url, "*.edunet.com*")||
shExpMatch(url, "*.homestead.com*")||
shExpMatch(url, "*.mbnet.mb.ca*")||
shExpMatch(url, "*.ncwriters.org*")||
shExpMatch(url, "*.livizi.com*")||
shExpMatch(url, "*.apollolife.com*")||
shExpMatch(url, "*.bestemployersindia.com*")||
shExpMatch(url, "*.hewitt.com*")||
shExpMatch(url, "*.wallst.com*")||
shExpMatch(url, "*.usemb.ee*")||
shExpMatch(url, "*.owl.english.purdue.edu*")||
shExpMatch(url, "http://kidswriting.miningco.com*")||
shExpMatch(url, "http://kidswriting.about.com*")
)
return "PROXY 203.200.198.98:80";
else
return "PROXY 172.25.232.26:80";
}
}
********************************************************************
http://www.coolcampus.8k.com