Leo
Wed Oct 19 08:35:57 CDT 2005
> It's not supposed to give you anything weird. We're looking for the calls
> to access the files. I'm concerned with the C++ dll being accessed when
> called from the wrapper while running from ASP.
You are right. I meant I cannot see any big diffeence when running the
wrapper from the VB IDE or the DLL as far as
accessing files. The only obvious difference is that when running from the
VB IDE it's VB6.exe that invokes the calls to the DLL, and when running as
a compiled DLL, it's DLLHOST.exe that is doing the loading of the files. I
ran Process Viewer from Microsoft, and it shows both files loaded when I
call
the DLL (both my wrapper dll and the encryption DLL). I just am not sure if
permissions are still the issue.
>
> What are the rights to this folder? C:\Program Files\Samples\Simple\
> Have you tried removing the anonymous user access and running this at
>
http://localhost/ to eliminate the anonymous user permissions being the
> issue?
There is no anonymous user for that folder or virtual directory. What it is
there's an IUSR with full control (again for testing purposes), then users
and administrators and everyone groups
> You said the C++ dll resides somewhere under the windows directory. Isn't
> this the C++ dll?
I put it under C:\Windows\System32, just to exclude the path from my wrapper
dll
> Private Declare Function DmfDemoEncrypt Lib "C:\Program
> Files\Samples\Simple\email_encrypt.dll" (ByVal email As String, ByVal s As
> String) As String
>
> BTW... rights only apply when they are inherited, if not specifically set.
> Adding a user to a group requires that group having access to be
effective.
I added IUSR to the adminnistrators group. I guess that should give it
enough rights (lol). I mean this is on my development machine and I have
broken every security rule with regards to user rights so far
but I do not care, since it's not going beyond my machine at this point.
"Roland Hall" <nobody@nowhere> wrote in message news:uyci7cI1FHA.700@TK2MSFT
NGP10.phx.gbl...
> "Leo" wrote in message news:uBuFR%23%230FHA.3188@TK2MSFTNGP14.phx.gbl...
> : What the asp page does is:
> :
> : passes two strings to the DLL function and the DLL returns an encrypted
> : string that looks like this:
> :
> : MIIHxgYJKoZIhvcNAQcDoIIHtzCCB7MCAQAxggJqMIIBMQIBADCBtDCBrjGBqzCB
> : qAYDVQQpE4GgTUhZd0RBWUtZSVpJQVliOUhnSUJBUXdnWkdWMlpXeHZjR1Z5TG5a
> : dmJIUmhaMlV1WTI5dEl6RXdPRFEwTURBMk5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mZLAWTLbP6OVOzBYVIg
> : bwGerfIR2N0FXXJz/grLsRkDsB1XwlOrv8iQLNUVJbNi6QFyUkefylWhT52CQTIU
> : redmhYIWjQzS4LZwoApe/Ksgq4/BCC2+HaDSaq8Aw1wlj/I3TnFXhpVqU5Vnpec0
> : pkKsVXLPgJIOMKPtAXSUVuKKNk9ylNUR+Xet3n4ljPxBj0E5jM4DcFdl5UPOMTG+
> : Cj56Q80EPUfxl7jpchoiMQV2IiqtiTd7eIitX3txd2dSxu6TDGLx2qCuJnbNKtsA
> : zI7Gy8f2OR55EOwhwmDBl0P7EDAp+a78A2Fa5u4Luuq7XGLXHrnulioX6ywjd3oA
> : VYon9w9KhiCuPQ0Mv2OXF/cx+Zv2fylslFvsPdPVsu0KxKUePUWv1TMbYpSFwjjx
> : RU4CMP6O38WtA1m7U91TizGxttngTSaX62Ha7WrqGNX9dDxp
> :
> : I used the Filemon tool but it's not giving me anything weird I can
> : troubleshoot
>
> It's not supposed to give you anything weird. We're looking for the calls
> to access the files. I'm concerned with the C++ dll being accessed when
> called from the wrapper while running from ASP.
>
> What are the rights to this folder? C:\Program Files\Samples\Simple\
> Have you tried removing the anonymous user access and running this at
>
http://localhost/ to eliminate the anonymous user permissions being the
> issue?
> You said the C++ dll resides somewhere under the windows directory. Isn't
> this the C++ dll?
> Private Declare Function DmfDemoEncrypt Lib "C:\Program
> Files\Samples\Simple\email_encrypt.dll" (ByVal email As String, ByVal s As
> String) As String
>
> BTW... rights only apply when they are inherited, if not specifically set.
> Adding a user to a group requires that group having access to be
effective.
>
> --
> Roland Hall
> /* This information is distributed in the hope that it will be useful, but
> without any warranty; without even the implied warranty of merchantability
> or fitness for a particular purpose. */
> Technet Script Center -
http://www.microsoft.com/technet/scriptcenter/
> WSH 5.6 Documentation -
http://msdn.microsoft.com/downloads/list/webdev.asp
> MSDN Library -
http://msdn.microsoft.com/library/default.asp
>
>