Adobe Experience Manager - Hidden content for headless consumption - adobe

I am conceptualizing a private area for users (React SPA, SSO, microservices, yadda-yadda) that also needs to serve rich static content, that would non public. There is also a public microsite associated with this that will live on top of AEM. My idea would be to also use the AEM instance deployed for the public area to serve the non-public static content as well, via Adobe Content Services for integration. This is ideal because this private content is going to need heavy copywriting.
But then, how to avoid this "non-public" content from being also published on the main public website? I've seen there is this "Resource Mapping" feature.
Could a resource mapping for the private content be mapped to an external URL -that would be living in the SPA/microservices environment external to AEM- and so perform user authorization if needed?

Related

Artifactory. How to disable access via native browser

I use Artifactory аs a private repository. I take link on my repository to use it to gradle. However, if you enter this link in the browser, you will be able to download the jar file from the browser. How can I disable this functionality?
Artifactory does not have built in functionality for disabling the Web UI.
Depending on your use case you can block access to the UI by limiting access to the Web UI using an HTTP proxy in front of Artifactory (or an organizational proxy, firewall etc).
For example, you can limit the access to the web UI only to certain IP address or address ranges.
If you want to completely block web browsers from accessing Artifactory you can configure the reverse proxy to block certain user agents.
CloudRepo provides private and public repositories, if you'd like to prevent anyone from using your stuff you can toggle that repository to private.

Using Google Analytics to traking Chromium Embedded Framework (CEF) based desctop Application

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.

Product integrated with CQ5 to check the content standard?

we currently use Active Standard (a website quality testing service that checks pages for spelling, grammar, broken links, poor HTML code, etc). I want to understand how they could use this going forward with our new CQ5 site so that content is checked before it goes live. Since Active Standards is a ‘service’ it currently only checks the live site as that is all it can access.
Do we know if there is a content quality testing tool that could integrate into the CQ5 authoring environment?
Challenges:
How would a service like Active Standards be able to access the
authoring environment which sits behind a firewall on client's
network?
Is there a product which integrates with CQ5 that can be run at the
point the author is creating content?
I don't know Active Standard but from your description I understand it's a service that accesses a public website via HTTP to check its content.
If that's correct and there's no way to provide it with credentials so that it could access a secured stating version of your website, the only way that I see is exposing the staging content that you want to check on a public URL like staging.mysite.com, maybe adding disclaimers, robots.txt and removing CSS etc. so that people don't mistake it for the actual site. That staging website can then get content from the CQ author in a restricted way, using CQ access control and read-only users for example. But that won't work if you want to keep your staged content secret.
At the CQ level, the observation/notification and workflow mechanisms can be used to process content as soon as it's created, but to use this you need to be able to submit the content to the checking service yourself using HTTP or other clients, instead of having it crawl your staging content by itself.

How to show a user as logged in between Wordpress and MVC site

I have a web tier that splits our "portal" and our public facing website. The public website is hosted in a linux environment in wordpress at xx.com. The portal is an MVC app hosted in Azure on sub1.xx.com using SimpleMembership/Forms Authentication.
Users currently log in to the portal, and user information is displayed in the header. If they navigate back to the public side of the website, that information is not present because they are two separate systems.
What is the best practice for reconciling this?
Is there a way to wire the wordpress site in, or perhaps I should simply iframe in a small control on the public site that's hosted on the portal site and displays either the login controls, or their user information?

asp.net load website in code behind

I have a few websites on my windows 2003/IIS 6.0 machine
One of the sites is publicly visible and the others are private (can browse locally - 192.168.1 address)
I would like to display the private site on a page of the public site but not with an iframe.
When I tried an iframe, the client browser tries to find the web site - which is not publicly visible
Is there a way to load the home page from the code behind (C#/VB.NET)?
Thanks
It sounds like you might want to use HttpWebRequest in your public site's code to get the page content from the private site, then inline that into your response. You'll have to strip off everything but the content you're interested in (just what's in the tag, for example).

Resources