Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

How to pass user name and password to Apache server.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
davem - 18 Feb 2008 19:45 GMT
I'd like to have a user be able to login on an asp.net 2.0 web page, then
redirect them to download some files that reside on an Apache server.   The
issue I'm having is that I need to be able to pass the user name and
password entered by the user on the aspx page to the Apache server.   I see
at one time would have been able to pass this information embedded in the
URL, but this method is no longer supported by IE.

Can anyone point me in the right direction to accomplish this task?

Thanks in advance for any assistance

Dave M.
Jesse Houwing - 18 Feb 2008 20:19 GMT
Hello davem,

> I'd like to have a user be able to login on an asp.net 2.0 web page,
> then redirect them to download some files that reside on an Apache
[quoted text clipped - 7 lines]
>
> Thanks in advance for any assistance

You could let the ASP.net app download the files from the apache server and
let it forward the information to the actual user. That way th euser never
has to authenticate against the Apache server, solving your problem.

Another option (which only works if both servers have the same domain e.g.
files.yourcompany.com and app.yourcompany.com share the yourcompany.com domain)
is to use cookies to let either server know th euser has authenticated before.

Probably the easiest way would be to copy the files over to the server running
ASP.Net and forget about having the apache server at all ;)
--
Jesse Houwing
jesse.houwing at sogeti.nl

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.