I researched to process the reports using authentication on a vf page so that I can restrict the usage.
I found the following article to do the same using php in Five9:
Also, I got an article which discusses the same for a callout:
Here is the code which was proposed :
HTTP h = new HTTP(); HTTPRequest r = new HTTPRequest(); r.setEndpoint('https://my.domain.com'); Blob headerValue = Blob.valueOf(username + ':' + password); String authorizationHeader = 'BASIC ' + EncodingUtil.base64Encode(headerValue); r.setHeader('Authorization', authorizationHeader); r.setMethod('GET'); HTTPResponse resp = h.send(r);
Please assist if this can be done in salesforce to access reports and dashboards.