If you want to limit upload capabilties of your users only to specified file extensions do also following.

1. open with Notepad *\Clients\webserver\settings.bin


2. add as last line for example

upload_allow_extensions="|*.pdf|*.txt|"


3. save it and restart HTML5 server in AdminTool GUI to take these changes effect.

This will only allow pdf and txt extensions and drop all others.



If you want only to restrict specified extensions but allow all other extensions

1. open with Notepad *\Clients\webserver\settings.bin


2. add as last line for example

upload_extensions="|*.exe|*.com|*.bat|"


3. go sure you removed setting upload_allow_extensions=*** since it will be else preferred


4. save it and restart HTML5 server in AdminTool GUI to take these changes effect.

This will allow all extensions and drop exe, com and bat  



If you want to limit size of uploaded files do also following.

1. open with Notepad *\Clients\webserver\settings.bin


2. add as last line for example

max_upload_size="50mb"


3. save it and restart HTML5 server in AdminTool GUI to take these changes effect.

This will only allow file sizes up to 50mb and drop all higher values.