472,133 Members | 1,474 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,133 software developers and data experts.

MSWC.PermissionChecker component is not available on IIS6

I need to migrate a site from Windows 2000 server running IIS5 to Windows
2003 running IIS6.

The site uses extensively MSWC.PermissionChecker to control what links to
show to users. The MSWC.PermissionChecker that was part of IIS5 resource
kit but not available in IIS6 resource kit.

***
set oSecurity = Server.CreateObject("MSWC.PermissionChecker")

If oSecurity.HasAccess("somepath\default.asp") Then
display link to somepath\default.asp
end if
The component is documented by MS at
http://www.microsoft.com/windows2000...p/comp3hf8.htm
***
My infrastructure team refuses to install the PermChk.dll ( that provides
MSWC.PermissionChecker object ) on Win2003 server for fear that this is
unsupported dll.

Any idea of what can be used for checking whether user has access to a page
or code sample so I can build my own component ( i.e. DLL)?

--
Thank you,
Andrew
Aug 4 '06 #1
2 5959
Hello Andrew,

The permchk.dll as one of the resource kit components is indeed not
supported (even for the version within IIS 5.0) . There is a KB article
listing these components:
"PRB: Server.CreateObject Fails When You Use an MSWC or IISSample
Component"
http://support.microsoft.com/kb/249290.

The last version of this dll comes with Windows XP and it is not cotained
in the Windows 2003 or IIS 6 Resource Kit tools. I think that registering
the permchk.dll component on Windows 2003 should work fine. (

Additional information:
------------------------
There is a very elaborated kind of successor to this functionality in
Windows 2003. Authorization Manager (azman.msc) Authorization is a utility
that can be installed onto Windows 2003 and Windows XP Operating Systems
(located at http://go.microsoft.com/fwlink/?LinkId=28442). It allows for
role-based security
configuration.

See the following articles

"HOW TO: Install and Administer the Authorization Manager in Windows Server
2003"
http://support.microsoft.com/default...b;en-us;324470

"Authorization Manager and role-based administration overview; Windows
Server 2003, Standard Edition"
http://www.microsoft.com/resources/d...003/standard/p
roddocs/en-us/Default.asp?url=/resources/documentation/windowsserv/2003/stan
dard/proddocs/en-us/authm_rolebasedmgmt.asp

Sincerely,

Luke Zhang

Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Aug 7 '06 #2
Hello,

I want to follow up with you to see if there any further question or
concern on this issue, if so, please feel free to let us know.

Sincerely,

Luke Zhang

Microsoft Online Community Support
This posting is provided "AS IS" with no warranties, and confers no rights.

Aug 9 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Wayfarer | last post: by
4 posts views Thread by Jens Weiermann | last post: by
reply views Thread by Julio Naranjo | last post: by
reply views Thread by bharathreddy | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.