Access Denied from ActiveX object

From: Tom Welch (tomwelch@fastpoint.com)
Date: 01/23/03


From: Tom Welch <tomwelch@fastpoint.com>
Date: Thu, 23 Jan 2003 05:56:53 -0800

I am using an ActiveX EXE I created in JScript on a webpage. The ActiveX
EXE is an MFC program which gets a filepath from the JScript and opens a
file on the server, reads it, and renders it in a new window. The JScript
specifies the file using \\computer\sharename notation.

This program works great using Anonymous Access to the website, however,
when I turn on Integrated Security the program gives me an Access Denied
error. I have to have Integrated Security turned on because the client I
have written this application for is wanting security on their website and
they don't want to see logon dialogs (the end users are production workers
who are not PC savvy).

I have read a number of KB articles that appear to be written in the IIS
4.0 days which discuss process tokens and passing of credentials not
possible with NT Challenge/Response.

Both of these requirements must be met:

1. The user must be identifiable on the website without asking to login.
2. The app I wrote must be able to open the file.

Is there a way around this problem?

I am guessing that I either need to reconfigure the security to allow
credentials to be passed, grant additional rights through the share, or
use security APIs in my program to access the file.

KB article numbers would suffice, but an explanation would be great.



Relevant Pages

  • Regain access to POOM from JScript
    ... Model via JScript on the newer versions of Windows Mobile... ... security concerns to get around this and get the feature back? ... all objects and methods exposed by POOM. ... Or maybe there is a trick I could use to replace the main POOM DLL on ...
    (microsoft.public.pocketpc.developer)
  • Re: Borland is neglecting Delphi for Win32 badly
    ... runs in IE. JScript is not native. ... insecure runtime environment for JScript. ... This whole shebang about super security in .NET is ... native windows code at present. ...
    (borland.public.delphi.non-technical)
  • Re: Applet showDocument and init Method
    ... I can not use JavaWebstart and Method with JSCRIPT give me security ...
    (comp.lang.java.programmer)