Block attachments from specific IP Address

Block attachments from specific IP Address

Requirement:
In few organisations, certain IP Address are refrained from creating requests with attachments.

Steps to configure:
  1. Goto Admin > Developer Space > Request Custom Functions > Global function > New > Paste the content from the attachment GF_4 - Configuration.txt and save it with a name.
  2. Update the URL and integration key in the script. 
    1. You can get the integration key under Admin > Integrations > Integration Key > New
    2. Please use an integration key with admin privilege, as there wont be any role related permission issues. 

    3. Update the integration key in the global function.
    4. https://help.servicedeskplus.com/api/rest-api.html$key

  3. Go to Admin > Developer Space > Request Custom Functions > Custom Actions > Paste the content from the blockAttachments.txt and save it with a name.
  4. Modify the global function name and the IP Address list in the script. 

  5. Configure custom trigger as below:



                  New to ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

                      • Block attachments from certain IP Range

                        Requirement: In few organisations, certain IP Ranges are refrained from creating requests with attachments. Steps to configure: Goto Admin > Developer Space > Request Custom Functions > Global function > New > Paste the content from the attachment ...
                      • How to start ServiceDesk Plus on a single IP address/IP Binding

                        For customers running version 9.3 and below. 1. Goto Drive:\ManageEngine\ServiceDesk\server\default\conf\TrayIconInfo.xml and add "ipToBind" parameter to the following line:  <SDP-PROPERTIES RequestScheme="http" WebPort="8080"/>  Now the line would ...
                      • Update IP Address in Request additional field

                        Requirement: As per the application design, the IP address of the machine from which the request was created will be noted in the History tab.   Update this "IP Address" in a request additional field. Steps to configure: Goto Admin > Developer Space ...
                      • Specific Software

                        SELECT ( softl.softwarename )           "Software Name",         Max(workstation.workstationname) "Workstation",         Max(workstation.model)           "Model",         Max(aaauser.first_name)          "User",  ...
                      • Adding Attachments to a Request in PowerShell

                        Requirement: This article guides users on how to add attachments to a request in PowerShell from a specific location. The provided PowerShell script simplifies the process of appending attachments to a request, facilitating efficient automation. ...