File attachment virus security

 

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;

        }

    }

3 comments:

  1. What has your government done to help save you from your financial instability? you strive to survive and yet you hear stories of how your leaders have become terror in your entities... is time to make a different. for will have made money, and we have also come to help you out from your long time of financial suffering. clearing of credit card is made available, software for hacking ATM machines, bank to bank hacking and transfer, change your school grade and become something useful in the society. we also have other form of services such as Facebook hack, whats-app hack, twitter hack, i cloud hack, tracking of smart phones, hacking CCTV, installation of software on desktop and PC, snap-chat hack, Skype hack, wire wire, bitcoin account hack, erase your criminal record and be free for ever. database hack and many more. e-mail: cyberhackingcompany@gmail.com for your genuine hacking services and we shock we your findings.  

    ReplyDelete
  2. Investing online has been a main source of income, that's why knowledge plays a very important role in humanity, you don't need to over work yourself for money.All you need is the right information, and you could build your own wealth from the comfort of your home!Binary trading is dependent on timely signals, assets or controlled strategies which when mastered increases chance of winning up to 90%-100% with trading. It’s possible to earn $10,000 to $20,000 trading weekly-monthly in cryptocurrency(bitcoin) investment,just get in contact with Mr Bernie Doran my broker. I had almost given up on everything and even getting my lost funds back, till i met with him, with his help and guidance now i have my lost funds back to my bank account, gained more profit and I can now trade successfully with his profitable strategies and software!! 
Reach out to him through Gmail : Bernie.doranfx01@gmail.com ,Telegram: bernie_doran_fx or +1(424)285-0682 for inquires

    ReplyDelete
  3. I would strongly love to recommend the services of the best team of Access Hacking Company. They are professional and very discreet in carrying out their jobsi used the card was able to take out $50,000 for a start its been just 3 weeks and my life has taken a new shape, they have the best customer service agents and satisfaction at heart. If you want to get blank atm card, kindly contact them via Email: accesshackingcompany@gmail.com  Email: accesshackingcompany@yahoo.com
     clear or erase criminal records, all social media hacks, funds recovery and many others

    ReplyDelete

Virtual Fields Vs Computed Fields

  Virtual Field: A virtual field in D365FO is a field that doesn't have a direct representation in the database. It's a field that y...