Skip to main content

Microsoft Silverlight

Unanswered Question Regarding Uploading of files issuesRSS Feed

(0)

RenukaPalani
RenukaPa...

Member

Member

161 points

173 Posts

Regarding Uploading of files issues

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
Elango.ka

Participant

Participant

816 points

146 Posts

Re: Regarding Uploading of files issues

 Hi,

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

 

Thanks

Elango

Lars Buchleitner
Lars Buc...

Participant

Participant

1667 points

336 Posts

Re: Regarding Uploading of files issues

 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.

RenukaPalani
RenukaPa...

Member

Member

161 points

173 Posts

Re: Regarding Uploading of files issues

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".

 

Thanks

Renu

 

 

 

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities