Forum Discussion
fpieressa
Altostratus
Dec 27, 2009Allow or Deny http upload file by extension
Hi! Is there any way to force in a Web Application that only some specific file extentions can be uploaded using Form-based File Upload (RFC 1867)? Using this way, the file is not uploaded in an http...
fpieressa
Altostratus
Dec 27, 2009Of course, here you have, thanks!
POST /uploader.php HTTP/1.1
Host: 192.168.1.128
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.0.9) Gecko/2009040821 Firefox/3.0.9
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: es-es,es;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://192.168.1.128/upload.php
Content-Type: multipart/form-data; boundary=---------------------------24464570528145
Content-Length: 842
-----------------------------24464570528145
Content-Disposition: form-data; name="MAX_FILE_SIZE"
100000
-----------------------------24464570528145
Content-Disposition: form-data; name="uploadedfile"; filename="borrar1.pl"
Content-Type: text/x-perl
!/usr/bin/perl
print "hola\n";
...
-----------------------------24464570528145--
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
