AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
DAX
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 31.12.2021, 16:23   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
d365technext: File attachment virus security
Источник: https://d365technext.blogspot.com/20...-security.html
==============



File attachment virus security Dynamics 365 Finance & Operations



This is a normal scenario in every implementation that Business users are allowed to attach any documents with any records using the existing attachment feature.



What about if a Business user uploads intentionally or unintentionally the virus-affected file or virus in the shape of any document.

It could make a heavy impact, If the other use opens the affected attached file or virus, and if your network of the machine is not properly secure with antivirus.



How you can protect to reduce the chances to get impacted by attachment?

Options


  • 1. Limited file types should be allowed.
  • 2. Scan the document while uploading.





Limited document types should be allowed to upload or attach.

Go to

Organization administration > Document management > Document management Parameter > File type

Please do not allow the "EXE" extension type files to upload or attach.



Scanning uploaded files for viruses and malicious code



The second option is scanning the file as a pre-requisite of file uploading.

There is already a delegate available in Dynamics 365 Finance & Operations from 10.0.12, which users can subscribe to and can implement their own file scanning security.




You can subscribe to any online antivirus services and can implement your logic in the below code.




public final class ScanDocuments

{

[SubscribesTo(classStr(FileUploadResultBase), staticDelegateStr(FileUploadResultBase, delegateScanStream))]

public static void FileUploadResultBase_delegateScanStream(System.IO.Stream _stream, EventHandlerRejectResult _validationResult)

{

if (!ScanDocuments::scanStream(_stream))

{

_validationResult.reject();

}

}

private static boolean scanStream(System.IO.Stream _stream)

{

/*

Custom implementation is required for connecting to a scanning service

If the document scanning process found an issue, return false; otherwise, return true;

*/

return true;

}



}



Источник: https://d365technext.blogspot.com/20...-security.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
german_nav_developer: Buildnummern-Übersicht Microsoft Dynamics NAV 2013 Blog bot NAV: Blogs 0 15.05.2016 18:12
DynamicsAxSCM: Change license plate, split quantity, skip and override location during inbound put away Blog bot DAX Blogs 0 27.11.2015 16:11
DynamicsAxSCM: Visualizing Security in Microsoft Dynamics AX 2012 Blog bot DAX Blogs 0 29.08.2011 13:11
axinthefield: AIF File Adapter for AX 2009 - Security Authorization Blog bot DAX Blogs 0 23.06.2011 21:11
Inside Dynamics AX 4.0: The Security Framework Blog bot DAX Blogs 0 31.10.2007 11:40

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 15:52.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.