Ask a Question related to ASP.NET Security, Design and Development.
-
Rashid #1
Problem using OpenThreadToken
I have a COM DLL developed in VC++ where in certain place following statements are executed
hThread = GetCurrentThread()
If (OpenThreadToken(hThread, TANDARD_RIGHTS_REQUIRED |TOKEN_ASSIGN_PRIMARY|TOKEN_DUPLICATE | TOKEN_IMPERSONATE|TOKEN_QUERY_SOURCE|TOKEN_ADJUST_ PRIVILEGES|TOKEN_ADJUST_GROUPS
TOKEN_ADJUST_DEFAULT| TOKEN_ADJUST_SESSIONID | TOKEN_QUERY, TRUE, &horigtoken) == 0
....
In ASP application I am using this COM dll and it is absolutely fine. But after I migrated from the ASP to ASP.Net, I noticed while debugging that call to OpenThreadToken is failing in ASP.Net
In both ASP and ASP.Net application, for IIS Directory Security Authentication Method I am using Anonymous access for a specific local user account created on the server
The error # I get while calling the COM method from ASP.Net is 1008 (An attempt was made to reference a token that does not exist
If anyone has come across such a situation, pls share your thoughts to make it work
Rashid Guest
-
contribute problem - access denied file may not existpermission problem
Recieving the following error message - "access denied file may not exist , or there could be a permission problem" this happened this morning ,... -
Problem playing Quicktime thru .DCR embedded in HTML - pathreferencing problem?
Greetings earthlings and Director heads. Here's the problem: created an HTML file containing shockwave (dcr) movie that calls quicktime movies in... -
Uploading problem = weird warning (was: access denied problem.....)
Hi, I had a problem where my upload form was not working on our production server but was working on two other servers, after checking the... -
#21611 [Opn]: Problem with version_compare() (Was: Problem with pear cli and release numbers)
ID: 21611 Updated by: et@php.net -Summary: Problem with pear cli and release numbers Reported By: jan at horde... -
Problem with Apache Web Server config file and PHP (please give advice on what problem may be me)
HI: Can anyone refer me to someone that can help with the problem below. I installed Apache Web Server on my laptop which has Windows XP. I...



Reply With Quote

