How to access tableau server without login

折月煮酒 提交于 2019-12-07 12:43:23

问题


I am new to tableau and I want to integrate tableau server in our application through Iframe, I am passing HTTP URL with authentication details like username and password but whenever I am accessing tableau it is asking for username and password.So please suggest me that how i can access tableau without redirecting to login page.


回答1:


According to the Tableau community you can't do this through the URL:

There is no built-in mechanism to pass a username/password on the URL as doing so gives "bad people" a super-duper-easy way to hack into Tableau Server itself. As a hacker, all I'd have to do is "sit on the wire", watch requests go to Tableau, and I could harvest everyone's usernames and passwords. Scary stuff!

But there is a solution for built in credentials if you have a security mechanism on your end:

You might want to read up on Tableau Server's ability to do Trusted Tickets authentication. You could essentially tell Tableau Server to "Trust" whatever other security mechanism is authenticating your users (I assume you have one). If you don't have another mechaism to authenticate users before they get to Tableau Server, there's not too much you can do.

More on Trusted Authentication from Tableau website:

Trusted authentication simply means that you have set up a trusted relationship between Tableau Server and one or more web servers. When Tableau Server receives requests from these trusted web servers it assumes that your web server has handled whatever authentication is necessary

Setting this up requires you to add the trusted IP addresses to your Tableau server. This is done by stopping tabadmin and then running the following command, followed by saving this config and restarting:

tabadmin set wgserver.trusted_hosts "<trusted IP addresses or host names>" 

Once this is done you have to configure your web server so it can request tickets from Tableau server using a POST request to http://<server name>/trusted. These tickets must then be included into the script.

Hope this helps.



来源:https://stackoverflow.com/questions/42086871/how-to-access-tableau-server-without-login

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!