PC Review


Reply
Thread Tools Rate Thread

Any break for Automatic Proxy Configuration ?

 
 
Sanjeev Kumar
Guest
Posts: n/a
 
      2nd Sep 2004
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Proxy Configuration =?Utf-8?B?SmVmZg==?= Security Networking 13 27th Feb 2006 05:09 AM
proxy automatic configuration script JasonA Windows XP General 0 26th Feb 2006 07:03 AM
I need to find out my HTTP Proxy and/or SOCKS Proxy configuration =?Utf-8?B?Y29saW50YXNrZXI=?= Windows XP General 0 21st Feb 2006 12:01 AM
Client proxy settings when using "automatic configuration script" Benjamin Microsoft Dot NET Framework Forms 1 18th Aug 2004 04:06 PM
Client proxy settings when using "automatic configuration script" =?Utf-8?B?QmVuamFtaW4=?= Microsoft Dot NET Framework Forms 0 18th Aug 2004 01:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:21 PM.