Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Sat, 05 Jul 2008 12:42:35 -0400,    group: microsoft.public.dotnet.framework.aspnet.security        back       


Downloading web page from secure ASP web site.   
I work for a large chain coporation. My schedule is posted on their
secure web site which I have a user name and a password for.
I want to create a URL string that can be sent (using VBA inside of
Outlook) which contain my username and passsword and allow me access
to my schedule information.

I tried:
IE.Navigate2
"https://mydish.olivegarden.com/company/TOG/home.asp?user=[myusername]&password=[mypassword]"
where [myusername] and [mypassword] were replaced by the actual
strings I use to login through the web site.

That doesn't work. I guessed at the variable names "user" and
"password". I looked through the login pages source text for help
here, but didn't find any.
I also noticed the login URL has the text "...netegritysplash.asp..."
in it? here is the full
URL:"https://mydish.olivegarden.com/siteminder/netegritysplash.asp?TYPE=33554433&REALMOID=06-ff731848-1ef6-4793-bc06-53077be31783&GUID=&SMAUTHREASON=0&TARGET=$SM$https%3a%2f%2fmydish%2eolivegarden%2ecom%2flogin%2easp&SMIDENTITY=NO"

Can anyone tell me how piece together a URL so I can include my
username and password thus directly downloading the schedule
information into a VBA program without physically going to the web
site using Explorer or Firefox?

Thanks in advance!
date: Sat, 05 Jul 2008 12:42:35 -0400   author:   Dave the Wave

Re: Downloading web page from secure ASP web site.   
You probably can't do this as easily as you like.  It looks like this site 
is protected by SiteMinder which is most likely an SSO solution that uses 
cookies for exchanging authentication information.  Essentially, your GET 
request to this page would need to include a cookie issued by SiteMinder to 
allow you to authenticate.

To get that cookie, you probably need to execute a form post with your 
credentials to the siteminder login page and get the cookie it sends back in 
a set-cookie header.  You would essentially need to program out all of this 
site interaction (often called screen scraping).  It is doable, but more 
complex than you probably were hoping for.

-- 
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Dave the Wave"  wrote in message 
news:ca8v64lhhv15ru7rfl4qt2ci13kmdtik4i@4ax.com...
>I work for a large chain coporation. My schedule is posted on their
> secure web site which I have a user name and a password for.
> I want to create a URL string that can be sent (using VBA inside of
> Outlook) which contain my username and passsword and allow me access
> to my schedule information.
>
> I tried:
> IE.Navigate2
> "https://mydish.olivegarden.com/company/TOG/home.asp?user=[myusername]&password=[mypassword]"
> where [myusername] and [mypassword] were replaced by the actual
> strings I use to login through the web site.
>
> That doesn't work. I guessed at the variable names "user" and
> "password". I looked through the login pages source text for help
> here, but didn't find any.
> I also noticed the login URL has the text "...netegritysplash.asp..."
> in it? here is the full
> URL:"https://mydish.olivegarden.com/siteminder/netegritysplash.asp?TYPE=33554433&REALMOID=06-ff731848-1ef6-4793-bc06-53077be31783&GUID=&SMAUTHREASON=0&TARGET=$SM$https%3a%2f%2fmydish%2eolivegarden%2ecom%2flogin%2easp&SMIDENTITY=NO"
>
> Can anyone tell me how piece together a URL so I can include my
> username and password thus directly downloading the schedule
> information into a VBA program without physically going to the web
> site using Explorer or Firefox?
>
> Thanks in advance!
date: Wed, 9 Jul 2008 12:18:20 -0500   author:   Joe Kaplan

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us