Skip to main content
Home Forums Silverlight Programming Silverlight Controls and Silverlight Toolkit Regarding Uploading of files issues
3 replies. Latest Post by RenukaPalani on January 8, 2009.
(0)
RenukaPa...
Member
161 points
173 Posts
01-08-2009 5:16 AM |
Hi,
I have created one fileupload control, (which is a custom control), for that all the uploaded files will be saved in one particular folder for example "UploadedFiles". for accessing that folder, i think the fileupload custom control needs full permission to access and save the uploaded files. My question is "Is it possible to change security settings of the folder through C# ". I need Help regarding this.
Thanks
Renu
Elango.ka
Participant
816 points
146 Posts
01-08-2009 6:08 AM |
You can use some security settings with rules of your folder.
Please refer this article,
http://weblogs.asp.net/cumpsd/archive/2004/02/08/69403.aspx
http://www.codeverge.net/ng.asp-net-forum.security/setting-ntfs-file-folder-permissions
Elango
Lars Buc...
1667 points
336 Posts
01-08-2009 6:14 AM |
What do you mean by the custom control need Access rights for a folder?Controls are Client side and haven´t access to a folder whatever.
01-08-2009 6:50 AM |
HI,
The custom control is file upload control, which will upload the file in webserver. so it needs full access permission to the folder, where the uploaded files will be stored. I am using Vista machine, where i have placed the folder in c:\Program Files (for example) , when i started uploading the files it is showing "Access denied Exception".