I have successfully embedded Grafana iframes (Grafana charts) on the dashboard.
However, if that iframe is embedded onto another website, it can be easily accessed.
I want to restrict usage of the iframe (Grafana charts) only to users of my application.
I am struggling to find a proper solution.
What I found is creating a reverse proxy between Grafana and the website, and verify the server URL is related to my application, but I am still trying to find out a better (native Grafana) solution.
Related
I have a streamlit web application. It is hosted on a vps server, combined and configured with nginx. Additionally, I received and configured access by domain name, received a ssl certificate.
I would like to place this application in Google search engines. So that when you enter a domain name into Google, it appears in the search results. I looked at the google documentation on how to do this. Actually there are two ways:
Creation of a special html page in the root directory
Adding a meta line on the main page of the application.
It seems to be nothing complicated, but how can this be done if I use streamlit as the basis of the web application? Can you give an example of what needs to be done to confirm the right to host the site?
If i developed a desktop application based on CEF (or Webkit). It mean that my GUI is HTML. Now i want take heatmap for my App. The smartest way is using Google Analytic as ga.js. But ga.js available only for public site with URL like http://*** Does anyone have idea how use GA js in local html?
In CEF you can serve content for any scheme using resource handlers. Use CefRegisterSchemeHandlerFactory() to register scheme handler for http scheme and custom domain eg. "myapp.foo". Files can reside on local drive and be accessible through http://myapp.foo/. There is a question whether GA validates this domain. Even if, then you could register scheme handler for a real domain that you own for ex. myapp.com. Content still can be served locally for that domain using resource handler.
Can anyone tell me process of embedding Salesforce Visualforce page on ASP.NET page under an iFrame or through any other way, if you have.
SalesForce doesn't support CORS or JSONP. This is deliberate because they want you to use their stuff:
Connected Apps: for communicating with "headless" applications (web services).
Salesforce Canvas: for embedding external applications within a VisualForce page. I am not sure if this works the other way around. Communication (events) between your SalesForce app and your external app is done via JavaScript XHR proxies. I believe this means you may have to modify your existing app to include their JavaScript library.
Both Connected Apps and Canvas apps require security setup and authentication.
I am still trying to figure this out too. The SalesForce Canvas tutorials use applications hosted on Heroku (they acquired Heroku so they push it whenever they can)... although this makes the examples close-ended, it also adds extra steps.
check this out!
there's something called frontdoor.jsp
https://developer.salesforce.com/blogs/developer-relations/2014/03/see-your-visualforce-pages-on-tv-with-chromecast.html
I have set up a simple intranet at file:///c:/Path/Index.html and I'd like to track its use with Google Analytics.
Because its protocol is 'file:', not 'http:', it does not have a domain name. Is there a way to use Google Analytics anyway ?
If you turn on file auditing you can view access logs with that, but other than adding a web server app I can't see how this would work with google.
Any web page that is accessed locally, the cookies will be generated by Google Analytics and will not be recorded, simply because does not have a domain to be recorded.
If you want to measure your data in Google Analytics requires that your intranet is up and running within a Web Server.
Not being redirected to the Local Host but to a fictitious domain.
I was looking for information on implementing google analytics on static HTML, came across this official google info -
https://support.google.com/analytics/answer/1008080?hl=en
"Static website
A static website is one in which the page HTML is NOT generated using a programming language or interface such Python, Ruby, PHP, etc. To collect data, you must copy and paste the Analytics tracking code into the source code on every web page you wish to track.
Once you have the Javascript tracking code snippet for your property, copy the snippet exactly without editing it.
Paste your tracking code snippet (unaltered, in its entirety) before the closing tag on every web page on your site you wish to track.
If you wish to collect data from web pages to multiple properties at once, learn how to track a page using multiple accounts or properties."
I have a flex app that is hosted on my server. It runs off an amfphp + mysql stack.
I have had inquiries from potential clients who want to "white label" the product. Part of this means that they would want it to appear that the app is running off their server. So their clients would login at www.theirsite.com instead of www.mysite.com.
I obviously dont want to give them the actual app...but are there ways of letting their server redirect to mine without the user actually knowing?
I don't have extensive experience with Flex, but I've worked a lot with Flash. Several ideas come to mind:
Create a wrapper: a SWF that loads your app. With the proper security settings, it should work. Check out this article on crossdomain.xml and the specs for Security.allowDomain()
You could simply embed the SWF from your site, similar to a YouTube video
If that is not satisfactory and your hosting services allow it, you can create a DNS A record or a DNS C record for a subdomain in there site, but you would support all the traffic that page has.
Probably the easiest way would be for them to alter their DNS record to make a CNAME entry (alias) that is a subdomain of theirsite.com:
yourapp.theirsite.com => www.mysite.com