See Also

StandardSecurity Members

Description

Represents standard 40 bit PDF document security.

For a list of all members defined in this module, see StandardSecurity members.

Remarks

40 bit PDF security is compatible with PDF version 1.1 and higher and can be read with Adobe Acrobat version 3 and higher.For additional information about Document security,please refer Security topic in the Help.

Interfaces

Implemented InterfaceDescription
Object 

Example

[ASP - VBScript] 

<!-- METADATA TYPE="typelib" UUID="{DF9225FE-94A4-490D-8CAD-E8366CE621D3}"--> 
<% 
    Dim MyDocument  
    Set MyDocument = Server.CreateObject( "DynamicPDF.Document" ) 
    ' Create a Page and add it to the document 
    Dim MyPage  
    Set MyPage = MyDocument.AddPage() 
    ' Create a standard MySecurity object 
    ' Add the Security object to the document 
    Dim MySecurity  
    Set MySecurity = MyDocument.SetStandardSecurity( "owner", "user" ) 
    ' Set the permissions on that MySecurity object 
    MySecurity.AllowPrint = False 
    MySecurity.AllowCopy = False 
    MySecurity.AllowEdit = False 
    ' Create and display a label as a reference 
    Dim MyText  
    Dim MyLabel 
    MyText = "This document has been encrypted with 40 bit encryption." 
    Set MyLabel = MyPage.AddLabel( MyText, 50, 50, 400, 100 ) 
    MyLabel.Font = DPDF_Font_Helvetica 
    MyLabel.FontSize = 18 
    ' Draw the PDF 
    MyDocument.DrawToWeb 
    Set MyPage = Nothing 
    Set MyDocument = Nothing 
%>

See Also

StandardSecurity Members

 

 


© Copyright 2007, ceTe Software