<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Encrypting data in excel file from SAS dataset in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Encrypting-data-in-excel-file-from-SAS-dataset/m-p/19056#M2921</link>
    <description>The X command is disabled by default in EGuide.  There are a number of threads in the EGuide form that discuss enabling it.  I don't use DI Studio but suspect the same situation.</description>
    <pubDate>Thu, 21 Oct 2010 15:15:40 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2010-10-21T15:15:40Z</dc:date>
    <item>
      <title>Encrypting data in excel file from SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encrypting-data-in-excel-file-from-SAS-dataset/m-p/19048#M2913</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
does somebody can help with next issue:&lt;BR /&gt;
I need to encrypt data when exporting data from SAS dataset to excel file,&lt;BR /&gt;
then I send this file with FILENAME EMAIL statement, that's why I need data to be encrypted.&lt;BR /&gt;
Or maybe there is another way to encrypt data for sending through email?&lt;BR /&gt;
Remark: creating excel files and sending them to email are doing programmatically, so that method of encryption should also working on similiar way.&lt;BR /&gt;
&lt;BR /&gt;
Thanx</description>
      <pubDate>Tue, 19 Oct 2010 14:00:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encrypting-data-in-excel-file-from-SAS-dataset/m-p/19048#M2913</guid>
      <dc:creator>Yuriy2301</dc:creator>
      <dc:date>2010-10-19T14:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypting data in excel file from SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encrypting-data-in-excel-file-from-SAS-dataset/m-p/19049#M2914</link>
      <description>Hi:&lt;BR /&gt;
  You might want to open a track with Tech Support on this question. When you export a SAS dataset to Excel, you are generally using PROC EXPORT. I do not believe there is a way to force PROC EXPORT to encrypt the data -after- it has gone to Excel.&lt;BR /&gt;
 &lt;BR /&gt;
  If you are using ODS HTML or ODS TAGSETS.EXCELXP or ODS CSV to send procedure output to Excel -- again, I do not believe there is a way to encrypt the SAS output (HTML, XML or CSV) once it has been created.&lt;BR /&gt;
 &lt;BR /&gt;
  There are some new system options in SAS 9.2, as described in this document:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/secref/62092/PDF/default/secref.pdf" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/secref/62092/PDF/default/secref.pdf&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
  But they don't seem quite relevant to your question -- which is about controlling encryption after SAS has created a file.&lt;BR /&gt;
&lt;BR /&gt;
To open a track with Tech Support, fill out the form at this link:&lt;BR /&gt;
&lt;A href="http://support.sas.com/ctx/supportform/createForm" target="_blank"&gt;http://support.sas.com/ctx/supportform/createForm&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 19 Oct 2010 16:25:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encrypting-data-in-excel-file-from-SAS-dataset/m-p/19049#M2914</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-10-19T16:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypting data in excel file from SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encrypting-data-in-excel-file-from-SAS-dataset/m-p/19050#M2915</link>
      <description>Excel's encryption is generally weak, so I would not trust it.  It takes about 10 minutes to break an Excel 2003 file.&lt;BR /&gt;
&lt;BR /&gt;
What you might want to consider is to write the Excel file to disk, then x-out from SAS to run a batch encryption with WinZip or 7Zip, and finally to use SAS to e-mail that file.&lt;BR /&gt;
&lt;BR /&gt;
If your office supports a secure e-mail tool, you can usually get to it from the SAS e-mail (for instance, with our Tumbleweed secure e-mail server, I just have to put "(secure)" (no quotes) in the title line to get the encryption to kick in.  Your local tech support may have the answer to this one.&lt;BR /&gt;
&lt;BR /&gt;
Doc Muhlbaier&lt;BR /&gt;
Duke</description>
      <pubDate>Tue, 19 Oct 2010 22:14:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encrypting-data-in-excel-file-from-SAS-dataset/m-p/19050#M2915</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-10-19T22:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypting data in excel file from SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encrypting-data-in-excel-file-from-SAS-dataset/m-p/19051#M2916</link>
      <description>Hi Doc,&lt;BR /&gt;
&lt;BR /&gt;
could you explain  more detailed with "then x-out from SAS to run a batch encryption with WinZip or 7Zip"?&lt;BR /&gt;
maybe you have some example or piece of code where similiar is doing?&lt;BR /&gt;
Is this possible to run a batch encryption from SAS code?</description>
      <pubDate>Wed, 20 Oct 2010 06:50:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encrypting-data-in-excel-file-from-SAS-dataset/m-p/19051#M2916</guid>
      <dc:creator>Yuriy2301</dc:creator>
      <dc:date>2010-10-20T06:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypting data in excel file from SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encrypting-data-in-excel-file-from-SAS-dataset/m-p/19052#M2917</link>
      <description>&amp;gt; then I send this file with FILENAME EMAIL statement,&lt;BR /&gt;
&amp;gt; that's why I need data to be encrypted.&lt;BR /&gt;
&lt;BR /&gt;
why make SAS work so hard ? &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt;    maybe there is another way to encrypt data for&lt;BR /&gt;
&amp;gt; sending through email?&lt;BR /&gt;
&lt;BR /&gt;
how about PGP encryption?&lt;BR /&gt;
This supports just the message transfer and not what happens after the message is opened by the receiver..&lt;BR /&gt;
Your system and security administrators should be able to show how it is integrated in your environment - It might need no SAS code changes.&lt;BR /&gt;
 &lt;BR /&gt;
luck&lt;BR /&gt;
peterC</description>
      <pubDate>Wed, 20 Oct 2010 11:07:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encrypting-data-in-excel-file-from-SAS-dataset/m-p/19052#M2917</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2010-10-20T11:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypting data in excel file from SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encrypting-data-in-excel-file-from-SAS-dataset/m-p/19053#M2918</link>
      <description>Since I have tumbleweed, I don't have an example for you.  The X command is a standard part of SAS base.  You can find the syntax on support.sas.com .  If you look at the 7 Zip web site, you can find the syntax for running 7 Zip in batch.</description>
      <pubDate>Wed, 20 Oct 2010 13:52:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encrypting-data-in-excel-file-from-SAS-dataset/m-p/19053#M2918</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-10-20T13:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypting data in excel file from SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encrypting-data-in-excel-file-from-SAS-dataset/m-p/19054#M2919</link>
      <description>Hi&lt;BR /&gt;
&lt;BR /&gt;
I tried X command and it works in SAS Base 9.1, &lt;BR /&gt;
but in Enterprise Guide and Data Integration Studio tools (which are on the same server) it doesn't.&lt;BR /&gt;
&lt;BR /&gt;
Maybe some ideas why so?</description>
      <pubDate>Thu, 21 Oct 2010 13:48:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encrypting-data-in-excel-file-from-SAS-dataset/m-p/19054#M2919</guid>
      <dc:creator>Yuriy2301</dc:creator>
      <dc:date>2010-10-21T13:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypting data in excel file from SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encrypting-data-in-excel-file-from-SAS-dataset/m-p/19055#M2920</link>
      <description>also code runs succesfully but nothing happens..</description>
      <pubDate>Thu, 21 Oct 2010 13:53:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encrypting-data-in-excel-file-from-SAS-dataset/m-p/19055#M2920</guid>
      <dc:creator>Yuriy2301</dc:creator>
      <dc:date>2010-10-21T13:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypting data in excel file from SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encrypting-data-in-excel-file-from-SAS-dataset/m-p/19056#M2921</link>
      <description>The X command is disabled by default in EGuide.  There are a number of threads in the EGuide form that discuss enabling it.  I don't use DI Studio but suspect the same situation.</description>
      <pubDate>Thu, 21 Oct 2010 15:15:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encrypting-data-in-excel-file-from-SAS-dataset/m-p/19056#M2921</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-10-21T15:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypting data in excel file from SAS dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encrypting-data-in-excel-file-from-SAS-dataset/m-p/19057#M2922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm relativly new to SAS, i have SAS 9.1 and 9.2 and would like to be able to copy your method of encryption please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I currently use SAS to export a dataset to Excel 2003 format.&lt;/P&gt;&lt;P&gt;I then use DDE to open the file in Excel, do some manipulation and save and close.&lt;/P&gt;&lt;P&gt;I'd like to be able to use SAS to Zip the file and email it out, all within the sas code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My business use SecureZip and not WinZip... please can you help with an example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 14:30:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encrypting-data-in-excel-file-from-SAS-dataset/m-p/19057#M2922</guid>
      <dc:creator>JayPabla</dc:creator>
      <dc:date>2012-04-03T14:30:45Z</dc:date>
    </item>
  </channel>
</rss>

