cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Prevent showing root folder when url is invalid - possible security issues

In Power BI Report Server portal, when user input any invalid url, e.g localhost/Reports/1212/21323/2323, the protal will redirect to http://localhost/Reports/browse

Is there a way to redirect / show "Error page" rather than redirect to root folder?

Just simply don't want to explore the root structure and give user access to the header (which has menu options ). It could lead to security issues.

 

Thanks

3 REPLIES 3
Highlighted
Helper II
Helper II

Re: Prevent showing root folder when url is invalid - possible security issues

I have not configured this solution myself but it may give you some direction

Highlighted
Super User III
Super User III

Re: Prevent showing root folder when url is invalid - possible security issues


@Ron1234 wrote:

 

Just simply don't want to explore the root structure and give user access to the header (which has menu options ). It could lead to security issues.

 


The menu content and the folders that a user can see are all restricted based on their permissions so being able to see the home folder should not lead to any security issues. What sort of issues are you worried about.

Highlighted
New Member

Re: Prevent showing root folder when url is invalid - possible security issues

thinking if someone just input a invalid url, then he / she could reach the browse page with your report root structures and menu options. I understand the permission settings will prevent them from seeing the content but why redirect to browse page is the only option? 

 

 

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

July 2020 Community Highlights

July 2020 Community Highlights

Learn about the exciting things that happened in July.

Featured Data Story of The Month

Featured Data Story of The Month

All Data Stories Gallery contributions are reviewed for each month. We select a contribution and feature the community member the following month.

Power BI Dev Camp - Developing with .NET Core

Power BI Dev Camp - Developing with .NET Core

Learn how to develop custom web applications for Power BI using .NET Core 3.1 and .NET 5.

Power BI Desktop August 2020 Update

Power BI Desktop August 2020 Update

We have great updates this month! Click the link for the video with more info.