I found out how to set a cookie and how to read it afterwards but is it also possible to get/read a cookie that was not set by dash?
My goal is to find out if a specific web page (that embeds my dash app) is calling my apps url or if some other client is calling it to ensure that only this specific page can access my dash app. If there is an easier/better way to ensure that I am open for any suggestions
How can I access or at least detect if there is a specific cookie in the “superior” web page (green box) that embeds my dash app?
Any idea/help is welcome to get to my goal to find out if a specific web page (that embeds my dash app) is calling my apps url or if some other client is calling it to ensure that only this specific page can access my dash app.
I believe dash can only access the current request cookies. In the code samples I used flask request to access the cookies. You might be able find more info on it on by checking the flask docs. I believe accessing another site cookies could be a security concern and may not be possible.