Wanted: .NET counterpart of PermissionChecker component!

J

Jens Weiermann

Hi guys,

I've spend days with this but couldn't find a solution, maybe you can help
me. In classical ASP, there was the so called "PermissionChecker" COM
component, which would tell you if the current user has (read) access to a
certain file, a lá

if (PermissionChecker.HasAccess("C:\SOMEFILE.TXT"))
Response.Write("You have access to some file...");

I've ported over my web application to ASP.NET and need this access thingie
to work before I can deploy it.

I've already tried the win32Security components available at gotdotnet, but
this didn't help me either.
Maybe someone can tell me how to use that COM object in ASP.NET?

Any help would be greatly appreciated!
Jens
 

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

Members online

No members online now.

Forum statistics

Threads
474,438
Messages
2,571,699
Members
48,796
Latest member
Greg L.
Top