Hi Renee, have you looked into Tableau trusted authentication? Trusted Authentication
You'd need to build the authentication component on your own web server but this would allow controlled access to dashboards.
Ok that would definitely be a next step, but we havent built something like that yet. But also I couldn't help noticing it says:
"When users visit the page they are prompted to sign in to Tableau Server before they can see the view."
This is the ideal situation but not happening for me. It instead gives me a 404 Not Found error saying that it couldn't access the worksheet (presumably because I am not logged in)
Do you know how to get around this or what's going wrong?
404 means page not found. Wondering if there's a problem with the URL. Take a look at the browser console window to see if there's any more information.
BTW, in the code snippet above, you're referencing tableau_v8.js from the local drive. I assume this is just for your own testing and not intended for deployment.
As Jeff said, you need to authenticate as a user who has permissions to run the viz (trusted tickets is he easiest way). you then present the ticket in the URL used to request the viz.
Since you aren't doing this, it's likely the built in Guest user is being utilized and it doesn't have permissions in the viz in question...therefore the error.
To Reiterate, you also don't want to reference the js file via a file path -- hit it via http.