[mapguide-users] RE: Avoiding Authentication Prompt on Startup
Ismael Cams
mapguide2007 at gmail.com
Tue May 8 02:56:01 EDT 2007
Hello Shaneb,
were you able to solve this problem ? I am having the same problem with both
mapguide and my webapplication running on the same server. This is a big
problem because now I am forced to allow anonymous access to my own
application what I certainly do no want because of the sensitive
information.
Any help would be appreciated very much.
Thanks in advance.
shaneb wrote:
>
> I'm actually getting prompted for MapGuide authentication. Here's what
> else I'm finding. When the web application is hosted on the same box as
> the site server (server has web extensions and site server installed),
> I'm not prompted. However, when I separate the web application from the
> site server (two different servers) the problem still occurs. Maybe
> this is a coincidence?
>
>
>
> Also, just to make sure I'm configured correctly, I'm only setting up
> the 'mapguide' virtual directory with anonymous access. The web
> application is in a separate virtual that is only set up for windows
> authentication for security reasons.
>
>
>
> -shane
>
>
>
> ________________________________
>
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Chris
> Gountanis
> Sent: Monday, March 26, 2007 11:44 AM
> To: 'MapGuide Users Mail List'
> Subject: RE: [mapguide-users] Avoiding Authentication Prompt on Startup
>
>
>
> You need to allow Anon access within IIS to not get the Windows Auth box
> popping up on you not to be confused with MapGuides Auth box which it
> seems you might have covered already.
>
>
>
>
>
> Chris
>
>
>
>
>
> ________________________________
>
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Buscher,
> Shane
> Sent: Monday, March 26, 2007 11:22 AM
> To: MapGuide Users Mail List
> Subject: [mapguide-users] Avoiding Authentication Prompt on Startup
>
>
>
> I can't seem to find a way to avoid users being prompted to authenticate
> when they open up a MapGuide site for the first time. After that, they
> aren't prompted again. You can cancel out of the authentication and
> bypass it, but this isn't very elegant. I'm using the DWF Viewer with
> .NET/iis 6, and have the MapGuide virtual directories set to windows
> authentication (anonymous access unchecked). I am authenticating on my
> default page with the code snippets below, then passing the session Id
> and web Layout to the dwf viewer. If anyone has a solution/workaround,
> I'd much appreciate it.
>
> Dim site As New MgSite()
>
> Dim userInfo As New MgUserInformation(AppSettings("mgLogin"), _
>
> AppSettings("mgPassword"))
>
> site.Open(userInfo)
>
> Dim SessionId As String = site.CreateSession()
>
> Dim WebLayout As String = AppSettings("webLayout")
>
> .
>
> .
>
> .
>
> <iframe id="ViewerFrame" width="100%" height="100%" frameborder="0"
> src="/mapguide/mapviewernet/dwfviewer.aspx?SESSION=<%= SessionId
> %>&WEBLAYOUT=<%= webLayout %>" >
>
> </iframe>
>
> Regards,
>
> Shane
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
--
View this message in context: http://www.nabble.com/Avoiding-Authentication-Prompt-on-Startup-tf3468065s16610.html#a10370797
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list