asp. net mvc pdf viewer : Break a pdf file SDK Library service wpf asp.net winforms dnn nitro-pro-9-user-guide-en21-part223

195
©Nitro
Security
WithNitroPro9,youcanapplytwodifferenttypesofsecuritytocontrolwhocanaccessyourfilesand
whatactionstheycanperformoncetheyreceivethem:password-basedsecurity,andcertificate-based
security.
Password-basedsecurity
Passwordsallowyoutorestrictaccessandusageofyourcontenttopeoplewhohavethepasswordused
tosecurethePDFfile.Dependingonyourneedsandtheintendedaudience,youcanchoosebetween40-
bitRC4,128-bitRC4,128-bitAES,256-bitAESencryption.
l
Openpasswords:Securelylockyourfilesoonlypeoplewiththecorrectpasswordcanopenthefile
l
Permissionpasswords:Theselockparticularfunctionalitywhenauseropensyourfile.For
example,youcanpreventrecipientsfrommodifyingorprintingyourdocument
Certificate-basedsecurity
Certificate-basedsecurityhasmanyadvantagesoverpassword-basedsecurity:documentscanbe
openedwithouttheneedtorememberpasswords,DigitalIDscannotbesharedorcopiedeasily,anda
singledocumentcancontaindifferentsecuritysettingsforindividualrecipients.Forexample,youmay
grantonepersoneditingandprintingprivileges,whileanotherislimitedtojustviewingthefile.
Toviewthesecurityinafile:
1. ClicktheFilemenubutton,andthenclickDocumentProperties
2. ClicktheSecuritytab
NitroPro9-UserGuide
Break a pdf file - Split, seperate PDF into multiple files in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Explain How to Split PDF Document in Visual C#.NET Application
break pdf file into multiple files; cannot print pdf file no pages selected
Break a pdf file - VB.NET PDF File Split Library: Split, seperate PDF into multiple files in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
VB.NET PDF Document Splitter Control to Disassemble PDF Document
break password pdf; pdf splitter
196
©Nitro
Permissionsettings
Theusagepermissionsettingsletyourestrictwhatfeaturescanbeusedwhenarecipientopensafileyou
havesecured.Thismeans,forexample,thatyoucandistributedocumentsthatcan’tbeeditedorprinted,
butcanbeopenedandviewed.UsingthesepermissionsettingswithdigitalIDcertificate-basedsecurity
givesyouevengreaterflexibilityasyoucansetdifferentpermissionsforeachindividualrecipientofyour
file.
Theusagepermissionsyoucancontrolinclude:
l
Printing:Controltheuser’sabilitytoprintthedocument,andatwhatresolutionquality
l
Changes:Controltheuser’sabilitytoeditthecontentsofadocument
l
Documentassembly:Controltheuser’sabilitytoinsertpagesintoandextractpagesoutof
PDFdocuments
l
Formfieldfill-inorsigning:Controltheuser’sabilitytofillinformsanddigitallysigndoc-
uments
l
Commenting:Controltheuser’sabilitytoaddnotes,texthighlights,anddrawingmarkups
l
Contentcopyingorextraction:Controltheuser’sabilitytocopycontentfromadocument
l
Accessforscreenreaders:Allowtexttobeaccessedbyscreen-readingsoftwareforuserswitha
visualimpairment
NitroPro9-UserGuide
C# PDF Convert: How to Convert Jpeg, Png, Bmp, & Gif Raster Images
Success"); break; case ConvertResult.FILE_TYPE_UNSUPPORT: Console.WriteLine("Fail: can not convert to PDF, file type unsupport"); break; case ConvertResult
can't cut and paste from pdf; acrobat split pdf pages
C# Image Convert: How to Convert Word to Jpeg, Png, Bmp, and Gif
RasterEdge.XDoc.PDF.dll. case ConvertResult.NO_ERROR: Console.WriteLine("Success"); break; case ConvertResult Fail: can not convert to JPEG, file type unsupport
break pdf into single pages; pdf insert page break
197
©Nitro
Passwordsecurity
Torestrictaccessanduseofyourcontent,youcansecureyourPDFfilewithoneofthefollowingtypesof
password:
l
Openpasswords:Lockyourfilesoonlypeoplewiththecorrectpasswordcanopenit
l
Permissionpasswords:Lockparticularfunctionalitywhenauseropensyourfile.Forexample,you
couldstoprecipientsfromcopyingtextfromyourPDFdocumentorprintingit.
MethodstosecureaPDFfilewithpasswordsecurity
TherearetwowaystosecureaPDFfilewithpasswordsecurity.Theseproceduresaredescribedbelow.
l
PasswordSecuritydialog:ViewsecuritysettingsandmanuallyapplysecurityinDocument
Properties
l
Securityprofiles:Re-usablesecurityprofilesletyousavecustomsecuritysettings,andthenapply
thosesettingstoadocumentwithoneclick
Tomanagepasswordsecurity:
1. Dooneofthefollowing:
OntheProtecttab,intheSecureDocumentgroup,clickPasswordSecurity
IntheFilemenu,selectDocumentProperties.TheDocumentPropertiesdialogopens.On
theSecuritytab,intheSecuritymethodmenu,selectPasswordsecurity.
2. IfthePDFdocumentalreadyhaspasswordsecurity,NitroPro9promptsyoutoenterthe
documentpasswordbeforeupdatingpasswordsecurity
3. InthePasswordSecuritydialog,doanyofthefollowing:
Ifyouwantuserstoenterapasswordtoopenyourfile,checktheRequireapasswordto
thedocumentcheckbox,andenterapassword
Ifyouwanttorestrictpermissionsonceafileisopened,checktheRequireapasswordto
changesecuritysettingsandaccessspecificfunctionscheckbox,andenterapassword.
Specifyrestrictionsforprinting,changes,copyingtextandimages,andtextaccessfor
screenreaderdevicesforSection508compliance.
4. ClickMore.IntheSecurityLevelsection,specifyanencryptionAlgorithm.256-bitAESis
consideredthemostsecure.
5. ClickOKorFinish
6. SaveyourPDFdocumenttoapplythenewsecuritysettings
Toapplypasswordsecuritywithaspecificprofile:
1. Tomanagesecurityprofiles,ontheProtecttab,intheSecureDocumentgroup,clickManage
Profiles.Ifnecessary,createoreditasecurityprofilebeforeproceeding.Formoreinformation,see
Security
profiles
.
2. OntheSecuritytab,intheSecureDocumentgroup,clickthearrowbelowPasswordSecurity
3. Selectasecurityprofilefromthelist,andconfirmthatyouwanttosecurethedocument
4. SaveyourPDFdocumenttoapplythenewsecuritysettings
NitroPro9-UserGuide
C# PDF Page Insert Library: insert pages into PDF file in C#.net
Offer PDF page break inserting function. offers easy & mature APIs for developers to add & insert an (empty) page into an existing PDF document file.
break up pdf file; break a pdf into separate pages
VB.NET PDF Page Insert Library: insert pages into PDF file in vb.
Offer PDF page break inserting function. And this page will give comprehensive VB example codes to create a new page to any designed location of the PDF file.
split pdf by bookmark; break apart pdf
198
©Nitro
Certificatesecurity
DigitalIDsletyouencryptfilesthatcanonlybeopenedandusedbypeoplewhohaveexchanged
certificates.Certificate-basedsecurityhasmanyadvantagesoverpassword-basedsecurity:documents
canbeopenedwithouttheneedtorememberpasswords,DigitalIDscannotbesharedorcopiedeasily,
theonedocumentcancontaindifferentsecuritysettingsforeachrecipientofafile.Forexample,youmay
grantonepersoneditingandprintingprivileges,whileanotherislimitedtojustviewingthefile.
BeforeyoucanreceivefilesencryptedforyourdigitalID,youmustcreateyourdigitalIDandthenshareits
certificatewithpeoplewhoyouintendtosharecertificate-securedfiles.Youmusthavealsoreceivedand
importedthecertificateoftherecipientbeforeyoucanencryptfilesfortheiruse.
NOTE:Whenyouusecertificate-basedsecurity,remembertoaddyourowncertificateasanintended
recipient.Otherwise,youdonothaveaccesstothePDFfilewhenitissecured.
MethodstosecureaPDFfilewithcertificatesecurity
TherearetwowaystosecureaPDFfilewithcertificatesecurity.Theseproceduresaredescribedbelow.
l
CertificateSecuritydialog:ViewsecuritysettingsandmanuallyapplysecurityinDocument
Properties
l
Securityprofiles:Re-usablesecurityprofilesallowyoutosavecustomsecuritysettingsandthen
applythosesettingstoadocumentwithoneclick.Profilescanincludedetailsontherecipientsyou
allow.Thisletsyousecuredocumentsthesamewayforeachrecipient,everytime
Tomanagecertificatesecurity:
1. Dooneofthefollowing:
OntheProtecttab,intheSecureDocumentgroup,clickCertificateSecurity
IntheFilemenu,selectDocumentProperties.TheDocumentPropertiesdialogopens.On
theSecuritytab,intheSecuritymethodmenu,selectCertificatesecurity
2. IntheCertificateSecuritydialog,selectcontactsyouwanttoallowaccesstoyoursecuredfile,and
clickAdd.Torestrictusageforeachrecipientasyouaddthem,selecttheRestrictedPermissions
option,anddefinethelevelsofprintingandchangesallowedforthatperson
3. ClickMore.IntheSecurityLevelsection,specifyanencryptionAlgorithm.256-bitAESis
consideredthemostsecure
4. ClickOKorFinish
5. SaveyourPDFdocumenttoapplythenewsecuritysettings
Toapplycertificatesecuritywithaspecificprofile:
1. Tomanagesecurityprofiles,ontheProtecttab,intheSecureDocumentgroup,clickManage
Profiles.Ifnecessary,createoreditasecurityprofilebeforeproceeding
Formoreinformation,seeSecurity
profiles
2. OntheProtecttab,intheSecureDocumentgroup,clickthearrowbelowCertificateSecurity
3. Selectasecurityprofilefromthelist,andconfirmthatyouwanttosecurethedocument
4. SaveyourPDFdocumenttoapplythenewsecuritysettings
NitroPro9-UserGuide
C# TWAIN - Query & Set Device Abilities in C#
TWSX_NATIVE; // See if the device supports file transfer. device.TwainTransferMode = method; break; } if (method == TwainTransferMethod.TWSX_FILE) device
break pdf into pages; split pdf into individual pages
C# TWAIN - Install, Deploy and Distribute XImage.Twain Control
RasterEdge.XDoc.PDF.dll. See if the device supports file transfer device. TwainTransferMode = method; break; } if (method == TwainTransferMethod.TWSX_FILE)
split pdf; pdf split
199
©Nitro
Securityprofiles
Securityprofilesstoreyoursecuritysettings,arere-useable,andhelpyouworkmorequickly.Insteadof
re-enteringpasswordsorre-addingrecipientnameseverytimeyouusedocumentsecurity,openthePDF
fileinNitroPro9andselectthesecurityprofilefromalist.Ifyouusecertificate-basedsecurityand
regularlysendfilestothesamepeople,securityprofilessaveyoualotoftime.
Toviewyoursecurityprofiles:
1. OntheProtecttab,intheSecureDocumentgroup,clickManageProfiles.TheSecurityProfiles
dialogappears.
2. ToviewdetailsofaprofileintheSecurityprofilessection,clickontheprofile
Toaddanewsecurityprofile:
1. OntheProtecttab,intheSecureDocumentgroup,clickManageProfiles.TheSecurityProfiles
dialogappears.
2. ClickNew.TheNewSecurityProfiledialogappears.
3. EnteraNameandDescriptionforyourprofile
4. IntheSecuredocumentssection,specifyoneofthefollowing:
Usingpasswords:restrictuser-rightstoopenandclosePDFdocuments,ormakechanges
Usingcertificates:encryptdocumentssotheycanbeaccessedonlyusersyouspecify
5. ClickNext,andconfigurepasswordsecurityorcertificatesecuritysettings.Formoreinformation,
seePassword
security
andCertificate
security
.
6. ClickFinish
Toeditasecurityprofile:
1. OntheProtecttab,intheSecureDocumentgroup,clickManageProfiles.TheSecurityProfiles
dialogappears.
2. IntheSecurityprofilessection,selectaprofile,andclickEdit
3. UpdatetheNameandDescriptionforyourprofile
4. IntheSecuredocumentssection,specifywhethertousepasswordsorcertificates
5. ClickNext
6. Updateanysecuritysettings
7. ClickFinishtosavechangestoyoursecurityprofile
Todeleteasecurityprofile:
1. OntheProtecttab,intheSecureDocumentgroup,clickManageProfiles.TheSecurityProfiles
dialogappears.
2. IntheSecurityprofilessection,selectapolicy,clickDelete,andconfirmthatyouwanttodelete
thesecurityprofile
NitroPro9-UserGuide
C# TWAIN - Acquire or Save Image to File
RasterEdge.XDoc.PDF.dll. is necessary in order to set the file format later Group4) device.Compression = TwainCompressionMode.Group3; break; } } acq.FileTranfer
cannot print pdf no pages selected; split pdf files
C# TWAIN - Specify Size and Location to Scan
How to Save Acquired Image to File in C#.NET with in frames) { if (frame == TwainStaticFrameSizeType.LetterUS) { this.device.FrameSize = frame; break; } } }.
acrobat split pdf into multiple files; break up pdf into individual pages
200
©Nitro
JavaScriptsecurity
ItispossibletoobtainaPDFdocumentcontainingembeddedJavaScriptthatcantriggersecurity
vulnerabilities.SomeusersmaywishtodisableJavaScriptforsecurityreasons,orsystemadministrators
mightneedtodisableJavaScripttoabidebytheircompany'sITpolicy.
TodisableJavaScriptfromrunning:
1. ClickontheFilemenubutton,andthenPreferences
2. InthePreferencesdialog,clickJavaScript
3. SelectDisableJavaScript
NitroPro9-UserGuide
201
©Nitro
DigitalIDs
AdigitalIDismuchlikepaper-basedidentificationsuchasapassport.Itcanprovewhoyouareandgive
youspecialrightstodoparticularthings.InNitroPro9,yourdigitalIDcanletyoumakeyourPDFfiles
tamper-proof,aswellasgiveyouspecialaccesstofilesfromuserswhohaveapprovedyourdigitalID.
Whenyousecureadocument,youcanchangeaccessandusagerightsonauser-by-userbasis.
DigitalIDshaveapublicandprivatekey.Thepublickeycontainsacertificateandidentifyinginformation,
andthisiswhatyousharewithotherusers.Onceotherusershaveyourpublickey,theycansecure
(encrypt)documentsthatyoumaybeabletoaccessanduse.TheprivatekeyisthepartofthedigitalID
thatisnevershared,andisthepartoftheIDthatunlocks(decrypts)filestowhichyouhavebeengranted
access.
NitroPro9supportstheuseofthefollowingtypesofdigitalIDs:
l
PKCS#12digitalIDfile.ThistypeofdigitalIDismoreflexiblebecauseyoucanusethesameIDon
multiplecomputers.Forexample,ifyouhadanofficeworkstationandanotebookwiththesame
certificateinstalled,youcouldopenthesamesecuredPDFfileonbothcomputers.ThedigitalID
remainssecurewhenmovedbetweencomputers,sinceyoumustenterapasswordwhenyou
importittoyourMyDigitalIDs.
l
WindowsCertificateStore.ThistypeofdigitalcertificatelockstheIDtoauseronaparticular
computerandcannotbecopiedandimportedtoanothercomputer.
NitroPro9-UserGuide
202
©Nitro
ManageDigitalIDs
ADigitalIDisasecuritypassthatallowsyoutocreateadigitalidentity,ortoviewadocumentthathas
beenencryptedtopreventunauthorizedaccess.YoucancreatedifferentDigitalIDsfordifferenttasks.
Forexample,youcanhaveadigitalIDforopeningaccountingdocuments,andanotheronetoopen
technicalreports.
TocreateaDigitalID:
1. OntheProtecttab,intheDigitalIDsgroup,clickMyDigitalIDs.TheMyDigitalIDsdialog
appears.
2. ClickNew.TheNewDigitalIDdialogappears
3. Enteryouridentitydetails
4. IntheIntendedUsagelist,selectthetypeofsecuritytouse,thenclickNext
5. ClickBrowsetochoosealocationtosaveyourdigitalID,thengiveitafilename
6. Enterapassword,andclickOKtofinish
TIP:IfyouwanttodeleteaDigitalID,selectitintheMyDigitalIDsdialog,andclickRemove.
ToimportaDigitalID:
1. OntheProtecttab,intheDigitalIDsgroup,clickMyDigitalIDs.TheMyDigitalIDsdialog
appears.
2. ClickImport
3. LocatetheDigitalIDonyourharddriveornetwork,andclickOpen
4. ClickClosetofinish
ToexportaDigitalID:
1. OntheProtecttab,intheDigitalIDsgroup,clickMyDigitalIDs.TheMyDigitalIDsdialog
appears.
2. SelectadigitalIDfromthelist,andclickExport.TheExportCertificatedialogappears.
3. SelectSavedatatofile,thenclickNext,andchoosealocationforthefile
4. ClickSavetofinish
ToexportaDigitalIDbyemail:
1. OntheProtecttab,intheDigitalIDsgroup,clickMyDigitalIDs.TheMyDigitalIDsdialog
appears.
2. SelectadigitalIDfromthelist,andclickExport.TheExportCertificatedialogappears.
3. SelectSenddatatoothersviaemail,thenclickNext
4. EnteranemailaddressfortherecipientofyourDigitalID,reviewthemessage,andthenclickSend
5. Anemailmessageiscomposedinyourdefaultemailclient,andincludesyourDigitalIDasan
attachment.ClickSend.
NitroPro9-UserGuide
203
©Nitro
Managetrustedcontacts
WithNitroPro9,youcanaddpeopletoyourTrustedContactsbyimportingtheirpublickeycertificate
manually,oryoucanshareyourpublickeyandtheirpublickeyatthesametimewiththeRequest
Contactsfeature.YouneedtohavethepublickeyofacontactinTrustedContactstobeabletovalidate
anyPDFfilestheyhavedigitallysigned.
Toaddatrustedcontact:
1. OntheProtecttab,intheDigitalIDsgroup,clickTrustedContacts.TheManageTrustedContacts
dialogappears.
2. ClickAdd,selectthecertificatethatwassentfromatrustedcolleague,andthenclickOpen
TIP:Toseedetailsofacertificate,suchaswhoissueditandhowlongthecertificateisvalid,selectit
fromthelistoftrustedcontacts,andclickView.
ToexportacontactID:
1. OntheProtecttab,intheDigitalIDsgroup,clickTrustedContacts.TheManageTrustedContacts
dialogappears.
2. Selectatrustedcontact,andthenclickExport
3. IntheSaveAsdialog,enteranameforthecertificate,andthenclickSave
Tosharepublickeycertificates:
1. OntheProtecttab,intheDigitalIDsgroup,clickTrustedContacts.TheManageTrustedContacts
dialogappears.
2. Selectacontacttoexport,andthenclickRequest.TheRequestContactsdialogappears.
3. Enteryourcontactdetails
4. SelecttheIncludemycertificateinemailcheckbox,selectacertificatetoshare,andthenclick
Next
5. Enteranemailaddressfortherecipientofyourpublickeycertificate,reviewthemessage,andthen
clickSend
6. Anemailmessageiscomposedinyourdefaultemailclient,andincludesyourpublickeycertificate
asanattachment.Sendtheemail.
NitroPro9-UserGuide
204
©Nitro
Digitalsignatures
Adigitalsignatureismuchmorepowerfulthanatraditionalpaper-basedsignature.Theyprovideyou
withawaytoshowapersonsignedaparticulardocumentataparticulartimeandhelpstoensurethat
thedocumentcontenthasnotbeentamperedwithafteritwassigned.Additionally,thedocument
versionhistoryshowsrecipientswhenadocumentwassigned,andwhenchangesweremade.This
revisionhistoryisencryptedandstoredinsidethePDF,andcanbeviewedintheSignatures
pane
.
TodigitallysignaPDFdocument,youneedadigitalID.Toverifythesignatureofanotherperson,you
mustfirstshareyourdigitalIDsandaddeachothertoyourTrustedContactslist.
Formoreinformationaboutdigitalsignatures,see:
l
Digitally
sign
a
document
l
View
and
validate
certificates
and
signatures
l
Certify
PDF
files
l
Digital
signature
timestamp
Forrelatedinformation,see:
l
Create
signature
fields
l
Digital
IDs
l
Manage
Digital
IDs
l
Manage
trusted
contacts
NitroPro9-UserGuide
Documents you may be interested
Documents you may be interested