Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7989799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T12:50:49+00:00 2026-06-04T12:50:49+00:00

We have all heard that XPS is Microsoft’s answer to Adobe’s PDF. Since PDF

  • 0

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.

Why and where I want it :-

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.

Now can I provide password in those XPS files so that they cannot be opened outside my app?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T12:50:50+00:00Added an answer on June 4, 2026 at 12:50 pm

    I was also looking such thing. and finally i got to know that XPS files are xml formatted files. and its also globally known so if some how you get the knowledge to how to protect. Than it self its not quite safe. May be you change the extension for these files.
    What I did for this is I created a custom file extension for these files and provided my own encryption and then after I could open these files only into my wpf application. Here are some link these could help you.

    http://msdn.microsoft.com/en-us/library/ms748388.aspx

    http://msdn.microsoft.com/en-us/magazine/cc163664.aspx

    http://xpsreader.codeplex.com/

    http://www.ericsink.com/wpf3d/B_Printing.html

    http://blogs.msdn.com/b/ptallett/archive/2006/05/11/595612.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have heard that GTK covers all controls so that developers do not care
We have all heard that one should never rebase published work, that it’s dangerous,
We have all heard of how in a for loop, we should do this:
I have thousands of photos in my hard-disk. All photo file-names consists of 4
Okay, I have looked hard for this answer, but all the websites, even the
I have heard that applications created in .net can be run on linux and
Myself and some colleagues have just been told that we are all taking the
I have heard that it is possible to get a bitmap/image handle of the
I have this jQuery and I'm changing styles in it but I've heard that
I have heard that C++ .NET is fastest , C# is next, followed by

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.