|
Home > Archive > IIS Server > August 2005 > MSGinga and IIS
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| ChiefDND 2005-08-26, 5:59 pm |
| I would like to Customize the IIS Login Dialog box on a Win2k IIS5 Web server.
Q: Does the msgina.dll handle this?
I have managed to add a custom logo to the msgina.dll, but can only see it
if I logon locally.
Tool used Resource Tuner, 30 day trial version from http://restuner.com
Thanks,
Chief
| |
| Chris Crowe [MVP] 2005-08-26, 5:59 pm |
| This is part of the web browser. It depends on the product, ie, mozilla,
firebox, safari, maxthon etc..
--
Cheers
Chris
Chris Crowe [IIS MVP]
http://blog.crowe.co.nz
"ChiefDND" <ChiefDND@discussions.microsoft.com> wrote in message
news:B05F1B02-41C7-458B-A90D-40FEC0864C69@microsoft.com...
>I would like to Customize the IIS Login Dialog box on a Win2k IIS5 Web
>server.
>
> Q: Does the msgina.dll handle this?
>
> I have managed to add a custom logo to the msgina.dll, but can only see it
> if I logon locally.
>
> Tool used Resource Tuner, 30 day trial version from http://restuner.com
>
> Thanks,
>
> Chief
| |
| ChiefDND 2005-08-26, 5:59 pm |
| Hello,
Yes, that is what I was thinking and then was directed to,
https://www.us.XXXXXXXXX/suite/login/welcome.html Click on Login to AKO and
you see that the logon dialog box has been modified.
Could you point me to the .dll responsible for this dialog box?
Thanks,
Chief
"Chris Crowe [MVP]" wrote:
> This is part of the web browser. It depends on the product, ie, mozilla,
> firebox, safari, maxthon etc..
>
>
>
> --
> Cheers
>
> Chris
>
> Chris Crowe [IIS MVP]
> http://blog.crowe.co.nz
>
>
> "ChiefDND" <ChiefDND@discussions.microsoft.com> wrote in message
> news:B05F1B02-41C7-458B-A90D-40FEC0864C69@microsoft.com...
>
>
>
| |
| Chris Crowe [MVP] 2005-08-26, 5:59 pm |
| Ok, it is the same logon dialog, it is using a feature called a REALM
On Windows XP and 2003 it is part of the UI to change this, but 2K you must
edit the metabase.
The ADSUTIL.VBS file exists in the following directories and can be used to
set the realm.
IIS5 = c:\Inetpub\AdminScripts
To Set the REALM
cscript adsutil.vbs SET w3svc/1/realm Chris
realm : (STRING) "Chris"
In the sample above, I am setting the REALM on the default web site. The /1/
in the above command is used to identify the web site to modify.
You can determine any web site # by selecting the web site, and clicking on
properties, and on the Web Site tab, click the properties button for
logging.
The filename at the bottom of the dialog shows you the # of the web site.
To get the REALM
cscript adsutil.vbs GET w3svc/1/realm
realm : (STRING) "Chris"
Hope this helps.
--
Cheers
Chris
Chris Crowe [IIS MVP]
http://blog.crowe.co.nz
"ChiefDND" <ChiefDND@discussions.microsoft.com> wrote in message
news:94D1E12A-352C-46A2-AF83-C3845F32CCEA@microsoft.com...[vbcol=seagreen]
> Hello,
>
> Yes, that is what I was thinking and then was directed to,
> https://www.us.XXXXXXXXX/suite/login/welcome.html Click on Login to AKO and
> you see that the logon dialog box has been modified.
>
> Could you point me to the .dll responsible for this dialog box?
>
> Thanks,
>
> Chief
>
>
> "Chris Crowe [MVP]" wrote:
>
| |
| ChiefDND 2005-08-26, 5:59 pm |
| Hello,
This did the trick. Created the Realm as described and modified/tweaked
with MetaEdit 2.2.
I now need to change the text User name to Customer Name. I modified the
msgina.dll with a tool called Resource Tuner, 30-day trial version from
http://restuner.com. Searched for User name and replaced. I then went
back in to MetaEdit and searched and replaced. Logon dialog box still has
User name. Am I missing something?
Metabase for Win 2k IIS 5 server has been backup before and after each change.
Msgina.dll backed up before each change.
Server rebooted.
Thanks,
Chief
"Chris Crowe [MVP]" wrote:
> Ok, it is the same logon dialog, it is using a feature called a REALM
>
> On Windows XP and 2003 it is part of the UI to change this, but 2K you must
> edit the metabase.
>
> The ADSUTIL.VBS file exists in the following directories and can be used to
> set the realm.
>
> IIS5 = c:\Inetpub\AdminScripts
>
> To Set the REALM
> cscript adsutil.vbs SET w3svc/1/realm Chris
>
> realm : (STRING) "Chris"
> In the sample above, I am setting the REALM on the default web site. The /1/
> in the above command is used to identify the web site to modify.
>
> You can determine any web site # by selecting the web site, and clicking on
> properties, and on the Web Site tab, click the properties button for
> logging.
>
> The filename at the bottom of the dialog shows you the # of the web site.
>
>
> To get the REALM
> cscript adsutil.vbs GET w3svc/1/realm
> realm : (STRING) "Chris"
>
> Hope this helps.
>
> --
> Cheers
>
>
> Chris
>
> Chris Crowe [IIS MVP]
> http://blog.crowe.co.nz
>
>
> "ChiefDND" <ChiefDND@discussions.microsoft.com> wrote in message
> news:94D1E12A-352C-46A2-AF83-C3845F32CCEA@microsoft.com...
>
>
>
| |
| David Wang [Msft] 2005-08-27, 7:53 am |
| > I would like to Customize the IIS Login Dialog box on a Win2k
> IIS5 Web server.
>
> Q: Does the msgina.dll handle this?
>
> I have managed to add a custom logo to the msgina.dll,
> but can only see it if I logon locally.
A: No. msgina has nothing to do with IIS nor the login dialog presented by
the browser.
IIS is a web server. It does not have nor control the login dialog box
presented by any browser client. All it does is send back 401 access denied,
and the browser chooses to popup some login dialog.
This means that to customize a login dialog box by changing msgina.dll, your
website must somehow distribute and change the msgina.dll system binary of a
remote browser's OS (which may not even be Windows).
The referenced URL is not changing msgina.dll. It is using a Realm value as
I see from the following header:
WWW-authenticate: basic realm="Please Enter Your AKO Username and Password
(1) [09:58:37:2471]"\r\n
And username displayed in the login dialog depends on the logged in
credentials. Cannot be controlled from the server since you are talking
about a client-side behavior.
In other words, unless your login form is a web page and use custom
authentication, the server has little control over what the client sees. The
public authentication protocols simply do not give you such unnecessary
control.
--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"ChiefDND" <ChiefDND@discussions.microsoft.com> wrote in message
news:9AC9A082-6093-4C5B-A744-6CE223818501@microsoft.com...
Hello,
This did the trick. Created the Realm as described and modified/tweaked
with MetaEdit 2.2.
I now need to change the text User name to Customer Name. I modified the
msgina.dll with a tool called Resource Tuner, 30-day trial version from
http://restuner.com. Searched for User name and replaced. I then went
back in to MetaEdit and searched and replaced. Logon dialog box still has
User name. Am I missing something?
Metabase for Win 2k IIS 5 server has been backup before and after each
change.
Msgina.dll backed up before each change.
Server rebooted.
Thanks,
Chief
"Chris Crowe [MVP]" wrote:
> Ok, it is the same logon dialog, it is using a feature called a REALM
>
> On Windows XP and 2003 it is part of the UI to change this, but 2K you
must
> edit the metabase.
>
> The ADSUTIL.VBS file exists in the following directories and can be used
to
> set the realm.
>
> IIS5 = c:\Inetpub\AdminScripts
>
> To Set the REALM
> cscript adsutil.vbs SET w3svc/1/realm Chris
>
> realm : (STRING) "Chris"
> In the sample above, I am setting the REALM on the default web site. The
/1/
> in the above command is used to identify the web site to modify.
>
> You can determine any web site # by selecting the web site, and clicking
on
> properties, and on the Web Site tab, click the properties button for
> logging.
>
> The filename at the bottom of the dialog shows you the # of the web site.
>
>
> To get the REALM
> cscript adsutil.vbs GET w3svc/1/realm
> realm : (STRING) "Chris"
>
> Hope this helps.
>
> --
> Cheers
>
>
> Chris
>
> Chris Crowe [IIS MVP]
> http://blog.crowe.co.nz
>
>
> "ChiefDND" <ChiefDND@discussions.microsoft.com> wrote in message
> news:94D1E12A-352C-46A2-AF83-C3845F32CCEA@microsoft.com...
and[vbcol=seagreen]
mozilla,[vbcol=seagreen]
see[vbcol=seagreen]
http://restuner.com[vbcol=seagreen]
>
>
>
| |
| ChiefDND 2005-08-29, 5:59 pm |
| Hello,
Thanks for clearing this up as well as the quick response.
Once again thank you,
Chief
"David Wang [Msft]" wrote:
>
> A: No. msgina has nothing to do with IIS nor the login dialog presented by
> the browser.
>
> IIS is a web server. It does not have nor control the login dialog box
> presented by any browser client. All it does is send back 401 access denied,
> and the browser chooses to popup some login dialog.
>
> This means that to customize a login dialog box by changing msgina.dll, your
> website must somehow distribute and change the msgina.dll system binary of a
> remote browser's OS (which may not even be Windows).
>
> The referenced URL is not changing msgina.dll. It is using a Realm value as
> I see from the following header:
> WWW-authenticate: basic realm="Please Enter Your AKO Username and Password
> (1) [09:58:37:2471]"\r\n
>
> And username displayed in the login dialog depends on the logged in
> credentials. Cannot be controlled from the server since you are talking
> about a client-side behavior.
>
>
> In other words, unless your login form is a web page and use custom
> authentication, the server has little control over what the client sees. The
> public authentication protocols simply do not give you such unnecessary
> control.
>
> --
> //David
> IIS
> http://blogs.msdn.com/David.Wang
> This posting is provided "AS IS" with no warranties, and confers no rights.
> //
> "ChiefDND" <ChiefDND@discussions.microsoft.com> wrote in message
> news:9AC9A082-6093-4C5B-A744-6CE223818501@microsoft.com...
> Hello,
>
> This did the trick. Created the Realm as described and modified/tweaked
> with MetaEdit 2.2.
>
> I now need to change the text User name to Customer Name. I modified the
> msgina.dll with a tool called Resource Tuner, 30-day trial version from
> http://restuner.com. Searched for User name and replaced. I then went
> back in to MetaEdit and searched and replaced. Logon dialog box still has
> User name. Am I missing something?
>
> Metabase for Win 2k IIS 5 server has been backup before and after each
> change.
> Msgina.dll backed up before each change.
>
> Server rebooted.
>
> Thanks,
>
> Chief
>
>
> "Chris Crowe [MVP]" wrote:
>
> must
> to
> /1/
> on
> and
> mozilla,
> see
> http://restuner.com
>
>
>
| |
| ChiefDND 2005-08-30, 6:00 pm |
| Hello and thanks again,
I have been successful in creating the Realm in the Metabase and see the
changes made when I logon.
Another question: Is it possible to create an active hyperlink in the Realm
text string?
I have tried using:
1) URL http://mysite/me
2) <a href=http://mysite/me>My site</a>
3) Using the Standard HTML Character Entities, replacing the special
characters: <a href=http etc…
Without success.
Thank you,
Chief
"David Wang [Msft]" wrote:
>
> A: No. msgina has nothing to do with IIS nor the login dialog presented by
> the browser.
>
> IIS is a web server. It does not have nor control the login dialog box
> presented by any browser client. All it does is send back 401 access denied,
> and the browser chooses to popup some login dialog.
>
> This means that to customize a login dialog box by changing msgina.dll, your
> website must somehow distribute and change the msgina.dll system binary of a
> remote browser's OS (which may not even be Windows).
>
> The referenced URL is not changing msgina.dll. It is using a Realm value as
> I see from the following header:
> WWW-authenticate: basic realm="Please Enter Your AKO Username and Password
> (1) [09:58:37:2471]"\r\n
>
> And username displayed in the login dialog depends on the logged in
> credentials. Cannot be controlled from the server since you are talking
> about a client-side behavior.
>
>
> In other words, unless your login form is a web page and use custom
> authentication, the server has little control over what the client sees. The
> public authentication protocols simply do not give you such unnecessary
> control.
>
> --
> //David
> IIS
> http://blogs.msdn.com/David.Wang
> This posting is provided "AS IS" with no warranties, and confers no rights.
> //
> "ChiefDND" <ChiefDND@discussions.microsoft.com> wrote in message
> news:9AC9A082-6093-4C5B-A744-6CE223818501@microsoft.com...
> Hello,
>
> This did the trick. Created the Realm as described and modified/tweaked
> with MetaEdit 2.2.
>
> I now need to change the text User name to Customer Name. I modified the
> msgina.dll with a tool called Resource Tuner, 30-day trial version from
> http://restuner.com. Searched for User name and replaced. I then went
> back in to MetaEdit and searched and replaced. Logon dialog box still has
> User name. Am I missing something?
>
> Metabase for Win 2k IIS 5 server has been backup before and after each
> change.
> Msgina.dll backed up before each change.
>
> Server rebooted.
>
> Thanks,
>
> Chief
>
>
> "Chris Crowe [MVP]" wrote:
>
> must
> to
> /1/
> on
> and
> mozilla,
> see
> http://restuner.com
>
>
>
| |
| Chris Crowe [MVP] 2005-08-31, 2:52 am |
| Again that would be dependant on the browser but I would assume it is a
simple Label control - text only no hyperlink functionallity.
Out of luck there.
-
Cheers
Chris
Chris Crowe [IIS MVP]
http://blog.crowe.co.nz
"ChiefDND" <ChiefDND@discussions.microsoft.com> wrote in message
news:30075EA9-B1B3-4E0D-BAA9-791E307ABF3B@microsoft.com...[vbcol=seagreen]
> Hello and thanks again,
>
> I have been successful in creating the Realm in the Metabase and see the
> changes made when I logon.
> Another question: Is it possible to create an active hyperlink in the
> Realm
> text string?
>
> I have tried using:
>
> 1) URL http://mysite/me
> 2) <a href=http://mysite/me>My site</a>
> 3) Using the Standard HTML Character Entities, replacing the special
> characters: <a href=http etc.
>
> Without success.
>
> Thank you,
>
> Chief
>
>
> "David Wang [Msft]" wrote:
>
| |
| ChiefDND 2005-08-31, 7:50 am |
| Thanks again,
Chief
"Chris Crowe [MVP]" wrote:
> Again that would be dependant on the browser but I would assume it is a
> simple Label control - text only no hyperlink functionallity.
>
> Out of luck there.
>
> -
>
> Cheers
>
> Chris
>
> Chris Crowe [IIS MVP]
> http://blog.crowe.co.nz
>
> "ChiefDND" <ChiefDND@discussions.microsoft.com> wrote in message
> news:30075EA9-B1B3-4E0D-BAA9-791E307ABF3B@microsoft.com...
>
>
>
|
|
|
|
|