473,856 Members | 1,740 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MSWC.Permission Checker 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.Permission Checker to control what links to
show to users. The MSWC.Permission Checker that was part of IIS5 resource
kit but not available in IIS6 resource kit.

***
set oSecurity = Server.CreateOb ject("MSWC.Perm issionChecker")

If oSecurity.HasAc cess("somepath\ default.asp") Then
display link to somepath\defaul t.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.Permission Checker 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 6117
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.CreateOb ject 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

"Authorizat ion 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_rolebased mgmt.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2634
by: Wayfarer | last post by:
I have a global.asa for my website where I use a counter from MSWC.Counters to store the count of sessions. Unfortunately, every time I look at it the numbers could go down, or up radically. I tried using Scripting.FileSystemObject to make a text file where I could store the count, but apparently that doesn't work in global.asa. Is there another way to do this? I'd appreciate any help I can get. Thanks...
0
1586
by: dave | last post by:
Hello Can any one tell me what value range for this code? set objTools=server.CreateObject("MSWC.Tools") Response.write objtools.Random() I executed code several times but couldnt figure out the value range and logic.
4
1517
by: Jens Weiermann | last post by:
Hi! Anyone knows the ASP.NET equivalent of the PermissionChecker component that shipped with IIS 5? Basically, what it does is checking if the current user (using impersonation!) has access to a specified file. I've starting playing around with the FileIOPermission class, but this doesn't seem to do what I need (or I don't understand it). Any help would be appreciated!
9
2089
by: Stan | last post by:
Here is my scenario: Web server ------------ Framework 1.1 Application proxy for the serviced component Component server ------------------- Framework 1.0
0
1540
by: Julio Naranjo | last post by:
moved an ASP application from a Windows 2000 to a Windows 2003 server I'm using MSWC.Tools to validate the existence of some files I got the next error Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed H E L P Thank you.
5
4617
by: Charles_B | last post by:
I am moving a working ASP application (not .NET) from IIS 5.0 to IIS 6.0. For some reason, when the ChooseContent method executes, the browser returns an error and the Event Log shows the following under System: Source: W3SVC Category: None Event ID: 1009 Description: A process serving application pool 'DefaultAppPool' terminated unexpectedly. The process id was '1560'. The process exit code was '0xc0000409'.
0
1546
by: Jon Paal [MSMD] | last post by:
anyone have an example of using insertion point of data with MSWC.Tools ? e.g. how can I send data to a "div" tag ? Set oTools = Server.CreateObject("MSWC.Tools" ) oTools.processForm "output.asp", "template.asp", "<div>"
12
7489
by: John Connic | last post by:
Hi All: I just setup a new machine with Vista Business Edition and IIS 7. I had to turn on IIS 7 attributes including the IIS Manager. Not sure what options I needed I turn them all on that even remotely look like I might need them. The IIS Manager looks total foreign to me but eventually I figure how to add a virtual folder. I then started making script files in html, javascript and vbscript. I would run them through IIS 7 using the...
0
5366
by: bharathreddy | last post by:
In .Net COM+ components are referred to as serviced components, Namespace: System.EnterpriseServices; Advantage of Serviced Components: object pooling, database connection pooling,
0
11051
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10774
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7929
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7088
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5757
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5956
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4571
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4171
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3196
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.