I am pretty new to Sharepoint and will try to describe our problem as best I
can. We are running SharePoint Portal Server 2003. On one of the pages, I have
added a Page Viewer Web Part that contains a link to a web app that retrieves
data from a SQL Server 2005 database based on the identity of the logged-in
user. The portal server uses https and is in a domain like my.companyname.com.
The web app is on a separate server. The link to the web app in the Page Viewer
web part is http://servername.companyname.com/appdirectory. The portal is
accessed both internally and externally. The web app uses
Context.User.Identity.Name to get the identity of the logged-in user and works
correctly outside of Sharepoint (accessing it via
http://servername.companyname.com/appdirectory).
If I set the link to the app in the Page Viewer Web Part to use https, we are
prompted to log in when trying to access the page even when we're logged in to
the company network. If I use http, we get the security message that there are
nonsecure items on the page, and after clicking through them, the app displays
(internally; over the Internet it prompts you to log in to the server).
I've been told that if the web app were in the my.companyname.com domain, I
could use https for the app and this would work seamlessly. When I asked our
Sharepoint guy about testing this, he said he wasn't sure about putting a web
site beneath the Sharepoint site but he would try.
So my question is, where should the web app reside in order for it to display in
the Page Viewer web part without requiring a separate login?