Ask a Question related to ASP.NET Security, Design and Development.
-
Kumar #1
Permissions Exception - uploading files
I have an application that allows users to upload files to web server like
~/folders/users/username/<filename.ext>
The folder name "users/username/" are created dynamically if they don't
already exist -
It's giving no persmissions exception on creating the folders and writing
the files,
System.Security.Permissions.FileIOPermission perm = new
System.Security.Permissions.FileIOPermission(Syste m.Security.Permissions.Fil
eIOPermissionAccess.AllAccess, "c:\inetpub\wwwroot\appname\folders);
perm.Assert();
the code above fails, any pointers ?
Kumar Guest
-
#32101 [Com]: Exception in unknown on line 0 when throwing exception inside exception handler
ID: 32101 Comment by: dhopkins at DonHopkins dot com Reported By: ceefour at gauldong dot net Status: No... -
Problems: uploading files have Chinese named files
Hi everyone, I try to upload file by using asp.net, code like that: <script language="VB" runat="server"> Sub Upload(Source As Object, e As... -
uploading with permissions help
hi Firstly i am working with php in an enviroment that supports unix-like permission in an accademic environment. The problem is enabling my... -
Uploading files in C#
why don't you examine the extension of the file being loaded. "Ian Walsh" <ianwalsh@hbosplc.com> wrote in message... -
Uploading files using FTP in ASP.NET
If you follow this link, you'll find a few ftp samples: http://www.gotdotnet.com/community/usersamples/Default.aspx?query=ftp Here's one that...



Reply With Quote

