madhosh
Programmer
- Aug 10, 2001
- 14
Guys..
I am writing a ISAPI filter which will decrypt a ASP page before sending it to asp.dll for procession.I have used forllwing function..
DWORD CTrail1Filter::OnUrlMap(CHttpFilterContext* pCtxt,
PHTTP_FILTER_URL_MAP pMapInfo)
Here i check for files with extension".asp" (which are already encrypted ) and decrypt them.So far so good... Now i am stuck Iam not able to figure out the way to send the decrypted files to asp.dll.
I do not want to write them to another physical file as it will defeat the purpose of decryption.
Is there any was i can store the decrypted data in memory and send it to asp.dll??
By the way Iam using Microsoft Cropto API for encyption and decryprtion.
Any help will be appreciated..
I am writing a ISAPI filter which will decrypt a ASP page before sending it to asp.dll for procession.I have used forllwing function..
DWORD CTrail1Filter::OnUrlMap(CHttpFilterContext* pCtxt,
PHTTP_FILTER_URL_MAP pMapInfo)
Here i check for files with extension".asp" (which are already encrypted ) and decrypt them.So far so good... Now i am stuck Iam not able to figure out the way to send the decrypted files to asp.dll.
I do not want to write them to another physical file as it will defeat the purpose of decryption.
Is there any was i can store the decrypted data in memory and send it to asp.dll??
By the way Iam using Microsoft Cropto API for encyption and decryprtion.
Any help will be appreciated..