Web App OR WinForm App - advice on choosing the UI for an admin utility

R

RJ

I have developed numerous WinForm based utilities in .NET, but I wanted to
consider a WebForm UI for my next utility, which runs only inside a
corporate intranet. I have done only minimal development with ASP.NET and
could use some advice. The primary logic consists of copying and moving
files both on the local computer, and servers across the enterprise. Is
ASP.NET a good choice where a lot of file access and file IO is involved?
Are there additional security issues involved with this web app, versus a
WinForms app?
Thanks for any input.

RJ
 
S

Scott Allen

Hi RJ:

From a permissions standpoint it might be easier to do this with a
WinForm app.

With ASP.NET it becomes tough to access remote servers. You can use
impersonation, but without kerberos delegation enabled impersonation
has a "one-hop" limit. The user's credentials are passed from the
client machine to the web server (one hop), but the web server cannot
use the credentials to make a second hop to another machine to copy
files.

Other solutions include running the ASP.NET worker process under a
domain account. In this scenario the domain account would need
permissions on all the remote server you need to reach, so then you'll
need to be very careful with who had authorization to use your web
app.

Food for thought, HTH,
 

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

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top