Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

fileupload control in C# for videos

I am designing a website that will upload video files in ASP.NET. The question I have is: video files can get very huge (i.e. 3GB) and I read that increasing the maxRequestLength in the webconfig file will give the chance for hackers to attack the server with large requests.

I already know about client validation to protect from malicious files that are not the intended files, so that's not a concern at the moment. My question is if the file-upload method is the right approach to upload video files? If not, is there a better approach?

like image 706
Jake Avatar asked Jan 17 '12 13:01

Jake


People also ask

Which of the following methods of FileUpload control is used for uploading a file?

The two controls used to upload files to a web server are: HtmlInputFile - an HTML server control. File Upload - an ASP.NET server control.

What is importance of FileUpload control HasFile property?

The HasFile property gets a value indicating whether the FileUpload control contains a file to upload. Use this property to verify that a file to upload exists before performing operations on the file.

How do I select multiple files in ASP.NET FileUpload?

The FileUpload. AllowMultiple property in . NET 4.5 and higher will allow you the control to select multiple files.


1 Answers

For upload big file in asp.net,I used "Brettle.Web.NeatUpload"

You can get it at http://neatupload.codeplex.com/

I hope it is useful for you.

like image 83
DennisZhong Avatar answered Oct 17 '22 03:10

DennisZhong