Avoiding signature images

SNOW User8
Giga Guru

Hi All,

How to avoid signature images from being attached with incident, regardless of image sizes/types?

I am looking for the best solution, referred few threads & thought of doing that by calculating the hash values of signature images to ignore & maintain that in a table. But I don't know how to calculate the hash value of signature images alone & maintain that in a table.

Refer: Is there a way to determine the hash value of an incoming attachment to SN? In general, trying to av...

Kindly help me.

Thanks,

Anna.

7 REPLIES 7

rahulpandey
Kilo Sage

Hi,


There is an OOB approach for this issue. Please refer Email image filtering properties


Yes Rahul Pandey



Thanks for your reply,



I have checked that image properties, there we need to set some image sizes. In our case we can't find out the signature images below some fixed size. Also, if I set some image sizes, then some cases the original attachments also missing.


Sebastian L
Mega Sage

Hi,

 

We are currently developing a solution with a business rule on sys_attachment that checks a custom table (blacklisted attachments) for records (attachments). If it finds a match between the record being inserted and the one in blacklist table, then it aborts the action. It compares the base64 values against each other, so the name should not matter, but the content in the image. If the values are the same then it is not inserted in the record. The attachment however statys in the sys_email. 

 

I am testing it on my development instance and it seems to be working, but I need to test further to see if it has any undiscovered complications. 


Best regards,
Sebastian Laursen

We developed the sam solution last year but due to some performance issues, we disabled it. Comparing the image was causing the performance issue.

Do you have any success on this and what encoding method are you using for comparison.