file security in asp .net

Chris Ara
09-14-2006, 02:57 PM
I'm trying to save text from a textbox to a simple text file on my server. I can use the StreamReader to read the file to the textbox , but when I use StreamWriter it returns an error. I know this has to do with security. Do I need to set permissions on my server or is there something I can do in code side to get around this.


Thanks for any help
Chris Ara

wayneph
09-14-2006, 03:02 PM
you need to have permissions to write on the server. the easiest thing to do is get the necessary permissions.

If there is an account that already has permissions, you could probably impersonate that account from code, but I've never personally done it.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum