You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2023/06/22 20:02:24 UTC

[spark] branch master updated: [SPARK-44147][DOCS] Add `spark.ui.allowFramingFrom` doc to `Security` page

This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 99337926496 [SPARK-44147][DOCS] Add `spark.ui.allowFramingFrom` doc to `Security` page
99337926496 is described below

commit 99337926496ac59bdb5c037ab6338bc0abc9c7a3
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Thu Jun 22 13:02:11 2023 -0700

    [SPARK-44147][DOCS] Add `spark.ui.allowFramingFrom` doc to `Security` page
    
    ### What changes were proposed in this pull request?
    
    This PR aims to add a documentation for `spark.ui.allowFramingFrom` doc to `Security` page
    
    ### Why are the changes needed?
    
    To improve `Security` page.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Manual generate the document and review.
    
    ![Screenshot 2023-06-22 at 10 48 59 AM](https://github.com/apache/spark/assets/9700541/5d2b4c3d-db41-40a8-a3ae-d3e00e5f4df8)
    
    Closes #41702 from dongjoon-hyun/SPARK-44147.
    
    Authored-by: Dongjoon Hyun <do...@apache.org>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 docs/security.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/docs/security.md b/docs/security.md
index c856b94388f..3c6fd507fec 100644
--- a/docs/security.md
+++ b/docs/security.md
@@ -289,6 +289,12 @@ The following options control the authentication of Web UIs:
 
 <table class="table table-striped">
 <thead><tr><th>Property Name</th><th>Default</th><th>Meaning</th><th>Since Version</th></tr></thead>
+<tr>
+  <td><code>spark.ui.allowFramingFrom</code></td>
+  <td><code>SAMEORIGIN</code></td>
+  <td>Allow framing for a specific named URI via <code>X-Frame-Options</code>. By default, allow only from the same origin.</td>
+  <td>1.6.0</td>
+</tr>
 <tr>
   <td><code>spark.ui.filters</code></td>
   <td>None</td>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org