<?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 Security concern when creating first custom visual in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Security-concern-when-creating-first-custom-visual/m-p/809238#M20990</link>
    <description>&lt;P&gt;I am trying to create my first custom visual based on this BI tutorial:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/custom-visual-develop-tutorial" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/developer/custom-visual-develop-tutorial&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I installed all the software as instructed, but then when I try to test out the custom visual (step 6 under "Testing the Custom Visual") it didn't display right.&amp;nbsp; I dug into the problem and it looks like the url that it needs to connect to (&lt;A href="https://localhost:8090/webpack-dev-server/" target="_blank"&gt;https://localhost:8090/webpack-dev-server/&lt;/A&gt;) returns a 404 error.&amp;nbsp; I checked with the IT department at my work and they said it is because opening port 8090 creates a security risk.&amp;nbsp; Is there any workaround for this?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Oct 2019 17:40:26 GMT</pubDate>
    <dc:creator>cogsie</dc:creator>
    <dc:date>2019-10-03T17:40:26Z</dc:date>
    <item>
      <title>Security concern when creating first custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Security-concern-when-creating-first-custom-visual/m-p/809238#M20990</link>
      <description>&lt;P&gt;I am trying to create my first custom visual based on this BI tutorial:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/custom-visual-develop-tutorial" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/developer/custom-visual-develop-tutorial&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I installed all the software as instructed, but then when I try to test out the custom visual (step 6 under "Testing the Custom Visual") it didn't display right.&amp;nbsp; I dug into the problem and it looks like the url that it needs to connect to (&lt;A href="https://localhost:8090/webpack-dev-server/" target="_blank"&gt;https://localhost:8090/webpack-dev-server/&lt;/A&gt;) returns a 404 error.&amp;nbsp; I checked with the IT department at my work and they said it is because opening port 8090 creates a security risk.&amp;nbsp; Is there any workaround for this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 17:40:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Security-concern-when-creating-first-custom-visual/m-p/809238#M20990</guid>
      <dc:creator>cogsie</dc:creator>
      <dc:date>2019-10-03T17:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Security concern when creating first custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Security-concern-when-creating-first-custom-visual/m-p/809290#M20994</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/175974"&gt;@cogsie&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;The 'happy path' for developing a custom visual is that your local development environment needs to connect to the Power BI Service through a local port on your machine, and via a certificate, as this is where the developer visual is hosted. I &lt;A href="https://coacervo.co/sdk-high-level-view" target="_self"&gt;wrote a short post about it&lt;/A&gt; (or at least everything I know so far) and this may help further your understanding.&lt;/P&gt;&lt;P&gt;Your IT team aren't incorrect in that opening a port that they typically don't support does potentially increase the attack surface. The local server that the SDK runs requires a secure connection between your machine and Power BI to actually do anything, but if you are keen to proceed then you may need to get them to assess the situation for any potential vulnerabilities (assuming that they are prepared to).&lt;/P&gt;&lt;P&gt;If this is not something that can be accomodated, the only real alternative using your current office 365 account would be to either:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You can package the visual into a .pbiviz by running &lt;FONT face="courier new,courier"&gt;pbiviz package&lt;/FONT&gt; and manually loading into Power BI Desktop. There's a &lt;A href="https://coacervo.co/sdk-high-level-view#but-why-cant-i-do-this-all-locally" target="_self"&gt;small section in the above post&lt;/A&gt; about this - it is... cumbersome as an approach.&lt;/LI&gt;&lt;LI&gt;Check if your IT department are amenable to you setting up a development environment on your own machine and permit you to log into Power BI from there.&lt;/LI&gt;&lt;LI&gt;Use &lt;A href="https://charticulator.com" target="_self"&gt;Charticulator&lt;/A&gt; to build your custom visual - not suitable if you want to learn and experiment with the SDK but if you're just looking to create a specific type of visual this may be another solution.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;You could also try cross-posting this question in to the &lt;A href="https://community.powerbi.com/t5/Custom-Visuals-Development/bd-p/CustomVisualsDevelopmentDiscussion" target="_self"&gt;Custom Visuals Development Discussion&lt;/A&gt; forum, as the development team monitor that one and may be able to advise further.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 19:06:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Security-concern-when-creating-first-custom-visual/m-p/809290#M20994</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2019-10-03T19:06:07Z</dc:date>
    </item>
  </channel>
</rss>

