[ 
https://issues.apache.org/jira/browse/MAPREDUCE-2858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126941#comment-13126941
 ] 

Robert Joseph Evans commented on MAPREDUCE-2858:
------------------------------------------------

@Luke

I must be doing something wrong with the base tag, because it is not working 
for me, and I am not really sure how it would work.  The issue I am having is 
the following.

The page has a reference to the following image
{code}
<img src="/static/hadoop-st.png">
{code}

I am not sure what I would insert into a base tag that would cause it to load 
from 
{code}http://myproxy.com:port/proxy/orighost:origport/static/hadoop-st.png{code}
  it always wants to load from 
{code}http://myproxy.com:port/static/hadoop-st.png{code} no matter what I put 
in for base.  This is on both Chrome and Firefox.

>From what I have read BASE is used to take a moved page and point the 
>references back to the original location.  At least that is how the google 
>cache uses it.  The href is supposed to point to a fully qualified URI that is 
>used in resolving partial URIs as if that were the page that we were currently 
>on.

Could you give me a more concrete example of what the base tag should look like 
to support this?  The only thing that I can come up with to do this is 
{code}<base href="http://orighost:origport/path/to/page"/>{code}
but that would bypass the proxy for all links, which seems broken to me.
                
> MRv2 WebApp Security
> --------------------
>
>                 Key: MAPREDUCE-2858
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2858
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>          Components: applicationmaster, mrv2, security
>    Affects Versions: 0.23.0
>            Reporter: Luke Lu
>            Assignee: Luke Lu
>            Priority: Blocker
>             Fix For: 0.23.0
>
>
> In MRv2, while the system servers (ResourceManager (RM), NodeManager (NM) and 
> NameNode (NN)) run as "trusted"
> system users, the application masters (AM) run as users who submit the 
> application. While this offers great flexibility
> to run multiple version of mapreduce frameworks (including their UI) on the 
> same Hadoop cluster, it has significant
> implication for the security of webapps (Please do not discuss company 
> specific vulnerabilities here).
> Requirements:
> # Secure authentication for AM (for app/job level ACLs).
> # Webapp security should be optional via site configuration.
> # Support existing pluggable single sign on mechanisms.
> # Should not require per app/user configuration for deployment.
> # Should not require special site-wide DNS configuration for deployment.
> This the top jira for webapp security. A design doc/notes of threat-modeling 
> and counter measures will be posted on the wiki.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to