How do I Secure the PrintDialog from C#?

  • Thread starter Thread starter ajstadlin
  • Start date Start date
A

ajstadlin

What is the best way to secure the PrintDialog when calling it from C#?

I need application level security to prevent my users from "surfing the
Internet" by using the insecure "Go Online..." links found in the XPS Printer
Properities Pages.

If this is not a PrintDialog issue but rather a XPS Printer Dialog issue -
then how do I secure the XPS Printer Dialog and other Printer configuration
Dialogs?
 
What is the best way to secure the PrintDialog when calling it from C#?

I need application level security to prevent my users from "surfing the
Internet" by using the insecure "Go Online..." links found in the XPS Printer
Properities Pages.

If this is not a PrintDialog issue but rather a XPS Printer Dialog issue -
then how do I secure the XPS Printer Dialog and other Printer configuration
Dialogs?

I do not think that you can do it. If you don't want users to surf the
web, then either do not provide any web browsers for their machines,
or block the appropriate ports in the firewall. Anything else is
insecure by design. For example, does your app has any "Open File" or
"Save File" dialogs (with XPS Printer, it certainly has, since it asks
where to save the output)? Do you realize that either of those can be
used to launch any application on the system by just browsing to where
it is located, right-clicking it, and selecting "Open" - for example,
iexplore.exe...
 
Back
Top