ASP.NET Network Security

M

Michael

I have a network drive that I need to give my asp.net program access
to. I am not allowed to use the regulat aspnet user account. Is there
any way I can create a user account or use mine within the program to
gain access to this drive?
 
C

Cowboy \(Gregory A. Beamer\)

There are a couple of ways to handle this.

Easiest: Give ASP.NET rights. You cannot do this and it is not a wise idea
regardless, as it opens a security hole.

Easy, but a bit time consuming: Create a .NET assembly that uses Component
Services and place in COM+. You can then assign a user that the component
works under. This is simple as long as it does not depend on other
assemblies, as you may end up putting them in the GAC to make it work. If
assemblies, like your app, call on the COM+ assembly, you are fine.

Harder: Set up an identity for the thread that accesses the directory.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
 

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,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top