Question: I am working on an android app where my requirement is to disable the screenshot functionality for the entire app

**MainActivity.java**

```
@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE,
                WindowManager.LayoutParams.FLAG_SECURE);
    }

```

I have used the above code to block the screenshot, partially it is working fine. As my code contains WebView to show the epub3(HTML + CSS + JS) contents on an app it is not specifically restricting that content only, it is allowing taking a screenshot for that content

please help
thank you in advance.

Answer: 
This is not a problem but expected behavior as you have installed Artifactory version 7.x and the Artifactory version 6.x, please refer to this [wiki](https://www.jfrog.com/confluence/display/JFROG/System+Requirements) on the system requirements for Artifactory v7.x. Please refer to this [wiki](https://www.jfrog.com/confluence/display/JFROG/JFrog+Platform+Overview) on Artifactory 7. This [wiki](https://www.jfrog.com/confluence/display/JFROG/Installing+Artifactory#InstallingArtifactory-DockerInstallation) talks about installing Artifactory version 7 and this [wiki](https://www.jfrog.com/confluence/display/RTF6X/Installing+with+Docker) for installing Artifactory version 6.
You need to publish 8082 port for UI as well. So your command should looks like:

```
docker run  --name artifactory -d -v artifactory-oss_data:/var/opt/jfrog/artifactory -p 8081:8081 -p 8082 docker.bintray.io/jfrog/artifactory-oss:latest

```