This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
DLP Existing Files Scan Tool
Data Loss Prevention (DLP) features in ShareFile let you restrict access and sharing based on the content found within a file.
This tool allows you to:
- Scan files stored on your StorageZone prior to enabling the DLP integration
- Re-scan uploaded files
Tool Requirements
- The DLP Integration must be enabled at the StorageZones Controller console. See Enable DLP for more information.
- PsExec.exe must be used in order to run the tool with Network Service Rights.
Obtain Network Service Rights
Use PSExec to launch PowerShell (x86) under the same user context as the StorageZone Controller and obtain Network Service Rights using the following command:
PsExec.exe -i -u "NT AUTHORITY\NetworkService" C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell
Initiate a Scan
First, in the PowerShell window created in the previous step, navigate to the DLPExistingFiles.ps1 tool’s install location.
Example: PS C:\> cd ‘C:\inetpub\wwwroot\ShareFile\StorageCenter\Tools\DLPExistingFiles’
To initiate a scan, run the following command:
.\DLPExistingFiles.ps1 –runscan <scanType> -date <date> -queueLimit <queueLimit>
Note:
<scanType>is required.<date>and<queueLimit>are optional.`
–
Important:
If you have run the scan tool previously, please ensure that the
Enddate.temp filelocated atC:\inetpub\wwwroot\ShareFile\StorageCenter\SC\Enddate.temphas been deleted before running a scan or scheduling a scan via Task Scheduler.
Custom Scan Options
You can customize your DLP scan with the following options:
scanType – This is a required variable. You may set scanType to the following:
- Unscanned
- Scanned (this type will scan all files that have been scanned previously, both OK and Rejected)
- ScannedOK
- ScannedRejected
Date – This is an optional variable. If the date is not set, the tool will scan all pre-existing files uploaded prior to the current date and time. To provide date and time, use the following format:
- Mm/dd/yyyy/ hh:mm:ss AM/PM
- Example: 09/21/2015/ 10:11:12 AM
queueLimit – This is an optional variable. The queueLimit is the max number of files that may be fetched for scanning at a time. By default, the value will be taken from app.config. The default is 512. When a queueLimit is reached, a temp file is created at the following location:
PS C:\> cd ‘C:\inetpub\wwwroot\ShareFile\StorageCenter\SC\Enddate.temp
Note regarding the Enddate.temp file:
The Enddate.temp file must be deleted before running the tool manually or scheduling a scan via Task Scheduler.
Schedule Recurring Scans via Task Scheduler
You may configure a recurring scan to run via Windows Task Scheduler. To do so:
- Open Windows Task Scheduler.
- Navigate to the Access Pane and select “Create Task”.
- Under General, provide a Name for your task.
- Under Security Options, click Change User or Group.
- Enter the Object Name as “Network Service” or as a Named User with Write permissions to the storage location.
- Under Configure For, select the correct operating system for your setup.
- Under Trigger, configure the frequency for running the recovery task as needed.
- Under Actions, create a New Action with the following parameters:
1:
Action: “Start a Program”2:Program/script: C:\Windows\System32\cmd.exe3:Argument: /C “c:\Windows\syswow64\WindowsPowerShell\v1.0\PowerShell.exe –File .\DLPExistingFiles.ps1 –runscan <scantype> -queueLimit <queueLimit>”4:Start In: c:\inetpub\wwwroot\ShareFile\StorageCenter\Tools\DLPExistingFiles- Conditions and Settings are optional.
- Click OK.
Once all files have been scanned, you may stop the scheduled task.
Troubleshooting
Logs
Logs for the DLPExistingFiles.ps1 tool may be found at:
C:\inetpub\wwwroot\ShareFile\StorageCenter\SC\logs\DLPExistingFiles-<date>.txt
Error: “Cannot run PsExec.exe –i –u “NT AUTHORITY\NetworkService”
Verify your permissions and ensure you have appropriate access to the network service.
Error: “DLP Integration Needs to be Configured”
Ensure that the DLP Integration is enabled on the StorageZones Controller console.
Share
Share
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.