File extension control and limitation
Limit the extensions of files that can be added to the eBA application and eBA Document Management module libraries
1- In order to control the file extensions to be uploaded during the Upload phase using the eBA application interface, they can be added to the web.config file content under the eba.net.dm and eba.net.dm.remote folder in the directory where the application is installed.
```<```WhiteLists```>```
```<```add key=".exe" value="application/octet-stream"/```>```
```<```add key=".gif" value="image/gif"/```>```
```<```add key=".png" value="image/png"/```>```
```<```add key=".doc" value="application/msword"/```>```
```<```add key=".docx" value="application/vnd.openxmlformats-officedocument.wordprocessingml.document" /```>```
```<```add key=".jpeg" value="image/jpeg"/```>```
```<```add key=".jpg" value="image/jpeg"/```>```
```<```add key=".xls" value="application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"/```>```
```<```add key=".xlsx" value="application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"/```>```
```<```add key=".pdf" value="application/pdf"/```>```
```<```add key=".txt" value="text/plain" /```>```
```<```add key=".mp4" value="video/mp4"/```>```
```<```add key=".msg" value="application/octet-stream" /```>```
```<```add key=".tiff" value="image/tiff" /```>```
```<```add key=".tif" value="image/tiff" /```>```
```<```add key=".pptx" value="application/vnd.openxmlformats-officedocument.presentationml.presentation" /```>```
```<```add key=".vsdx" value="application/vnd.ms-visio.drawing,application/vnd.ms-visio.viewer" /```>```
```<```add key=".ppt" value="application/vnd.ms-powerpoint" /```>```
```<```add key=".udf" value="application/octet-stream" /```>```
```<```add key=".heic" value="image/heic"/```>```
```<```add key=".heic" value="image/heic-sequence"/```>```
```<```/WhiteLists```>```
```<```appSettings```>```
```<```add key="debug" value="false"/```>```
```<```add key="PerformanceLogEnabled" value="false"/```>```
```<```add key="ValidationSettings:UnobtrusiveValidationMode" value="None"/```>```
```<```add key="WhitelistEnable" value="true"/```>```
```<```/appSettings```>```
2- For the control of file extensions in places where transactions are made through outsourcing The relevant extensions are defined by adding the following keys to the DocumentManagement tab on the Advanced page in the eBAConfigurationEditor.exe in the common folder in the directory where the eBA application is installed.
If there are no extensions for project files such as eba, frm, sln, even a new project cannot be opened via workflow.
CheckContentType: true
ExtensionWhiteListEnable: true
ExtensionWhiteList: pdf,msg,eml,txt,gif,png,jpg,jpeg,mp3,mp4,xls,xlsx,doc,docx,ppt,pptx,vsdx,tif,tiff,eba,frm,sln
3- These extensions, which are allowed under the 'New File' heading in the Document Management Module Library properties, can be limited to the library.
pdf|msg|eml|txt|gif|png|jpg|jpeg|mp3|mp4|xls|xlsx|doc|docx|ppt|pptx|vsdx|tif|tiff|eba|frm|sln
![](https://docsbimser.blob.core.windows.net/imagecontainer/DM%20Kütüphane%20Yeni%20Dosya%20S In-1b18eba6-7052-438f-9b2b-8e10b1b9f7d5.png)