title: Can there be Password in XPS File so that only authorised C# code can open it in WPF Document Viewer?
body: <p>We have all heard that XPS is Microsoft's answer to Adobe's PDF. Since PDF File has password facility so i was wondering is there any such facility in XPS Files also.</p>
  
  <p><strong>Why and where I want it :-</strong></p>
  
  <p>I need to display some books which are stored in file system in XPS format. I do not want user to open them without my app because in my app i have Document Viewer where i have disabled printing and copying. </p>
  
  <p>Now can I provide password in those XPS files so that they cannot be opened outside my app?</p>