# GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport.Security

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Export_Pdf_Section_PdfExport_Security_" data-uid="GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport.Security*">Security Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Export_Pdf_Section_PdfExport_Security_" data-uid="GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport.Security*"></a>
<h4 id="GrapeCity_ActiveReports_Export_Pdf_Section_PdfExport_Security" data-uid="GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport.Security">Security</h4>
<div class="markdown level1 summary"><p>Returns a <a class="xref" href="GrapeCity.ActiveReports.Export.Pdf.Section.PdfSecurity.html">PdfSecurity</a> object for initializing document encryption and security.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ExpandableObjectConverter))]
public PdfSecurity Security { get; }</code></pre>
</div>
<h5 id="GrapeCity_ActiveReports_Export_Pdf_Section_PdfExport_Security_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>You must set the <a class="xref" href="GrapeCity.ActiveReports.Export.Pdf.Section.PdfSecurity.Encrypt.html#GrapeCity_ActiveReports_Export_Pdf_Section_PdfSecurity_Encrypt">Encrypt</a> property to true in order for the document to be encrypted and the permissions enforced.</p>
</div>
</div>
