cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
danielc22 Frequent Visitor
Frequent Visitor

Question about Python Script Execution Refresh Security

Goal

  • We have a enterprise/private API endpoint that exposes data we want to analyze via power bi.  Intially, our idea was to scrape this endpoint using the web data connector; however, we do not want to expose or put the authenticaiton credentials to this endpoint in the cloud as they contain super user privileges, so we are looking for ways to mitigate that risk.
  • Instead we setup a python script that scrapes the data and loads it into a dataframe
    • Credentials to authenticate are stored in a seperate file and referenced in during script execution
  • Intent is to use a personal gateway to keep the dataset up to date.

Questions

  • Does this method expose our credentials to the cloud, or gateway in anyway?
    • E.g. does power bi service upload the code after it's interpeted to either the gateway or the service?
    • Or becuase we are just referenceing a config file, the scope of the execution (/exposure of creentials) is just locally on the computer that is hosting the personal gateway.

 

Thanks in advance for the help!

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Question about Python Script Execution Refresh Security

Hi @danielc22 ,

No, Power BI will not upload the code and the credentials. The Power BI service is built on Azure, which is Microsoft’s cloud computing infrastructure and platform. The Power BI service architecture is based on two clusters – the Web Front End (WFE) cluster and the Back-End cluster. The WFE cluster manages the initial connection and authentication to the Power BI service, and once authenticated, the Back-End handles all subsequent user interactions. Power BI uses Azure Active Directory (AAD) to store and manage user identities, and manages the storage of data and metadata using Azure BLOB and Azure SQL Database, respectively. For More details, you could reference the document : Power BI Security .

 

Best Regards,

Xue Ding

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Question about Python Script Execution Refresh Security

Hi @danielc22 ,

No, Power BI will not upload the code and the credentials. The Power BI service is built on Azure, which is Microsoft’s cloud computing infrastructure and platform. The Power BI service architecture is based on two clusters – the Web Front End (WFE) cluster and the Back-End cluster. The WFE cluster manages the initial connection and authentication to the Power BI service, and once authenticated, the Back-End handles all subsequent user interactions. Power BI uses Azure Active Directory (AAD) to store and manage user identities, and manages the storage of data and metadata using Azure BLOB and Azure SQL Database, respectively. For More details, you could reference the document : Power BI Security .

 

Best Regards,

Xue Ding

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

danielc22 Frequent Visitor
Frequent Visitor

Re: Question about Python Script Execution Refresh Security

Fantastic, thanks for the reply and explanation!

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Top Kudoed Authors
Users Online
Currently online: 385 members 3,407 guests
Please welcome our newest community members: