Security problem ?

A

Adry

Hi,

I've an assembly (DLL) compiled with COM interoperability.

This assembly is used by an ASP (not ASP.NET) application.

When the assembly tries to acces (read) a resource stored in the system
Font's folder (using SHGetFolderPath, SHGetSpecialFolderLocation and
SHGetPathFromIDList windows API), it gives me the following error:

itextsharp error '80131620'
\arial.ttf not found as file or resource.

That is, it seems do not be able to use windows API or determine the font's
folder location

I suppose it is a security problem.

Infact if I give all rights (in IIS in the security tab I use an
"administrator" user instead of IUSR_xxx) to my ASP application, it works
properly.

What have I do to avoid the problem ?

How works (that is, which privileges have) a .NET assembly in the ASP
context ?

There's some documentation to read about this question ?

Thanks in advance to everyone help me

Adriano
 
P

Patrick.O.Ige

hm.. i think you should just move the app to .NET
And makes your life easier
Patrick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top