file security in asp .net
file security in asp .net
file security in asp .net
file security in asp .net
file security in asp .net
file security in asp .net file security in asp .net file security in asp .net file security in asp .net file security in asp .net file security in asp .net file security in asp .net file security in asp .net
file security in asp .net file security in asp .net
file security in asp .net
Go Back  Xtreme Visual Basic Talk > > > file security in asp .net


Reply
 
Thread Tools Display Modes
  #1  
Old 09-14-2006, 02:57 PM
Chris Ara Chris Ara is offline
Centurion
 
Join Date: Feb 2005
Posts: 176
Smile file security in asp .net


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
Reply With Quote
  #2  
Old 09-14-2006, 03:02 PM
wayneph's Avatar
waynephfile security in asp .net wayneph is offline
Web Junkie

Retired Moderator
* Expert *
 
Join Date: Apr 2004
Location: D/FW, Texas, USA
Posts: 8,393
Default

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.
__________________
-- wayne, MSSM Retired
> SELECT * FROM users WHERE clue > 0
0 rows returned
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
file security in asp .net
file security in asp .net
file security in asp .net file security in asp .net
file security in asp .net
file security in asp .net
file security in asp .net file security in asp .net file security in asp .net file security in asp .net file security in asp .net file security in asp .net file security in asp .net
file security in asp .net
file security in asp .net
 
file security in asp .net
file security in asp .net
 
-->