Added: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/security/interpreter_authorization.html URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/security/interpreter_authorization.html?rev=1732761&view=auto ============================================================================== --- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/security/interpreter_authorization.html (added) +++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/security/interpreter_authorization.html Sun Feb 28 16:10:43 2016 @@ -0,0 +1,220 @@ + +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Notebook Authorization</title> + <meta name="description" content="Notebook Authorization"> + <meta name="author" content="The Apache Software Foundation"> + + <!-- Enable responsive viewport --> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <!-- Le HTML5 shim, for IE6-8 support of HTML elements --> + <!--[if lt IE 9]> + <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + + <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> + + <!-- Le styles --> + <link href="/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/bootstrap/css/bootstrap.css" rel="stylesheet"> + <link href="/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/css/style.css?body=1" rel="stylesheet" type="text/css"> + <link href="/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/css/syntax.css" rel="stylesheet" type="text/css" media="screen" /> + <!-- Le fav and touch icons --> + <!-- Update these with your own images + <link rel="shortcut icon" href="images/favicon.ico"> + <link rel="apple-touch-icon" href="images/apple-touch-icon.png"> + <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png"> + <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png"> + --> + + <!-- Js --> + <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script> + <script src="/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/bootstrap/js/bootstrap.min.js"></script> + <script src="/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/js/docs.js"></script> + + <!-- atom & rss feed --> + <link href="/docs/0.6.0-incubating-SNAPSHOT/atom.xml" type="application/atom+xml" rel="alternate" title="Sitewide ATOM Feed"> + <link href="/docs/0.6.0-incubating-SNAPSHOT/rss.xml" type="application/rss+xml" rel="alternate" title="Sitewide RSS Feed"> + </head> + + <body> + + <div id="menu" class="navbar navbar-inverse navbar-fixed-top" role="navigation"> + <div class="container"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="navbar-brand" href="/docs/0.6.0-incubating-SNAPSHOT"> + <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50" alt="I'm zeppelin"> + <span style="vertical-align:middle">Zeppelin</span> + <span style="vertical-align:baseline"><small>(0.6.0-incubating-SNAPSHOT)</small></span> + </a> + </div> + <nav class="navbar-collapse collapse" role="navigation"> + <ul class="nav navbar-nav"> + <li> + <a href="#" data-toggle="dropdown" class="dropdown-toggle">Quick Start <b class="caret"></b></a> + <ul class="dropdown-menu"> + <!-- li><span><b>Overview</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/index.html">Overview</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Install</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/install/install.html">Install</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/install/yarn_install.html">YARN Install</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/install/virtual_machine.html">Virtual Machine Install</a></li> + <li role="separator" class="divider"></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/install/upgrade.html">Upgrade Version</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Tutorial</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/tutorial/tutorial.html">Tutorial</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Guide</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/dynamicform.html">Dynamic Form</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/publish.html">Publish your Paragraph</a></li> + </ul> + </li> + <li> + <a href="#" data-toggle="dropdown" class="dropdown-toggle">Interpreter <b class="caret"></b></a> + <ul class="dropdown-menu"> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/interpreters.html">Overview</a></li> + <li role="separator" class="divider"></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/cassandra.html">Cassandra</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/elasticsearch.html">Elasticsearch</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/flink.html">Flink</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/geode.html">Geode</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hbase.html">HBase</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hive.html">Hive</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/ignite.html">Ignite</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/jdbc.html">JDBC</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/lens.html">Lens</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/markdown.html">Markdown</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/postgresql.html">Postgresql, hawq</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/scalding.html">Scalding</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/pleasecontribute.html">Shell</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/spark.html">Spark</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/tachyon.html">Tachyon</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/pleasecontribute.html">Tajo</a></li> + <li role="separator" class="divider"></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/dynamicinterpreterload.html">Dynamic Interpreter Loading</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/dependencymanagement.html">Interpreter Dependency Management</a></li> + </ul> + </li> + <li> + <a href="#" data-toggle="dropdown" class="dropdown-toggle">Display System <b class="caret"></b></a> + <ul class="dropdown-menu"> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/displaysystem/display.html">Text</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/displaysystem/display.html#html">Html</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/displaysystem/table.html">Table</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/displaysystem/angular.html">Angular</a></li> + </ul> + </li> + <li> + <a href="#" data-toggle="dropdown" class="dropdown-toggle">More <b class="caret"></b></a> + <ul class="dropdown-menu"> + <!-- li><span><b>Manual</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/notebookashomepage.html">Notebook as Homepage</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Notebook Storage</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/storage/storage.html#Git">Git Storage</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/storage/storage.html#S3">S3 Storage</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>REST API</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/rest-api/rest-interpreter.html">Interpreter API</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/rest-api/rest-notebook.html">Notebook API</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/rest-api/rest-configuration.html">Configuration API</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Security</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/security/overview.html">Security Overview</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/security/authentication.html">Authentication</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/security/notebook_authorization.html">Notebook Authorization</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/security/interpreter_authorization.html">Interpreter Authorization</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Development</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html">Writing Zeppelin Interpreter</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontribute.html">How to contribute (code)</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontributewebsite.html">How to contribute (website)</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Shiro Security</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/shiroauthentication.html">Shiro Authentication</a></li> + </ul> + </li> + </ul> + </nav><!--/.navbar-collapse --> + </div> + </div> + + <div class="container"> + +<!--<div class="hero-unit Notebook Authorization"> + <h1></h1> +</div> +--> + +<div class="row"> + <div class="col-md-12"> + <!-- +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +--> + +<h1>Interpreter and Data Source Authorization</h1> + +<h2>Interpreter Authorization</h2> + +<p>Interpreter authorization involves permissions like creating an interpreter and execution queries using it.</p> + +<h2>Data Source Authorization</h2> + +<p>Data source authorization involves authenticating to the data source like a Mysql database and letting it determine user permissions.</p> + +<p>For the Hive interpreter, we need to maintain per-user connection pools. +The interpret method takes the user string as parameter and executes the jdbc call using a connection in the user's connection pool.</p> + +<p>In case of Presto, we don't need password if the Presto DB server runs backend code using HDFS authorization for the user. +For databases like Vertica and Mysql we have to store password information for users.</p> + + </div> +</div> + + + <hr> + <footer> + <!-- <p>© 2016 The Apache Software Foundation</p>--> + </footer> + </div> + + + + + <script type="text/javascript"> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + + ga('create', 'UA-45176241-5', 'zeppelin.incubator.apache.org'); + ga('require', 'linkid', 'linkid.js'); + ga('send', 'pageview'); + +</script> + + + + </body> +</html> +
Added: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/security/notebook_authorization.html URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/security/notebook_authorization.html?rev=1732761&view=auto ============================================================================== --- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/security/notebook_authorization.html (added) +++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/security/notebook_authorization.html Sun Feb 28 16:10:43 2016 @@ -0,0 +1,223 @@ + +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Notebook Authorization</title> + <meta name="description" content="Notebook Authorization"> + <meta name="author" content="The Apache Software Foundation"> + + <!-- Enable responsive viewport --> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <!-- Le HTML5 shim, for IE6-8 support of HTML elements --> + <!--[if lt IE 9]> + <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + + <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> + + <!-- Le styles --> + <link href="/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/bootstrap/css/bootstrap.css" rel="stylesheet"> + <link href="/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/css/style.css?body=1" rel="stylesheet" type="text/css"> + <link href="/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/css/syntax.css" rel="stylesheet" type="text/css" media="screen" /> + <!-- Le fav and touch icons --> + <!-- Update these with your own images + <link rel="shortcut icon" href="images/favicon.ico"> + <link rel="apple-touch-icon" href="images/apple-touch-icon.png"> + <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png"> + <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png"> + --> + + <!-- Js --> + <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script> + <script src="/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/bootstrap/js/bootstrap.min.js"></script> + <script src="/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/js/docs.js"></script> + + <!-- atom & rss feed --> + <link href="/docs/0.6.0-incubating-SNAPSHOT/atom.xml" type="application/atom+xml" rel="alternate" title="Sitewide ATOM Feed"> + <link href="/docs/0.6.0-incubating-SNAPSHOT/rss.xml" type="application/rss+xml" rel="alternate" title="Sitewide RSS Feed"> + </head> + + <body> + + <div id="menu" class="navbar navbar-inverse navbar-fixed-top" role="navigation"> + <div class="container"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="navbar-brand" href="/docs/0.6.0-incubating-SNAPSHOT"> + <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50" alt="I'm zeppelin"> + <span style="vertical-align:middle">Zeppelin</span> + <span style="vertical-align:baseline"><small>(0.6.0-incubating-SNAPSHOT)</small></span> + </a> + </div> + <nav class="navbar-collapse collapse" role="navigation"> + <ul class="nav navbar-nav"> + <li> + <a href="#" data-toggle="dropdown" class="dropdown-toggle">Quick Start <b class="caret"></b></a> + <ul class="dropdown-menu"> + <!-- li><span><b>Overview</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/index.html">Overview</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Install</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/install/install.html">Install</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/install/yarn_install.html">YARN Install</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/install/virtual_machine.html">Virtual Machine Install</a></li> + <li role="separator" class="divider"></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/install/upgrade.html">Upgrade Version</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Tutorial</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/tutorial/tutorial.html">Tutorial</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Guide</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/dynamicform.html">Dynamic Form</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/publish.html">Publish your Paragraph</a></li> + </ul> + </li> + <li> + <a href="#" data-toggle="dropdown" class="dropdown-toggle">Interpreter <b class="caret"></b></a> + <ul class="dropdown-menu"> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/interpreters.html">Overview</a></li> + <li role="separator" class="divider"></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/cassandra.html">Cassandra</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/elasticsearch.html">Elasticsearch</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/flink.html">Flink</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/geode.html">Geode</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hbase.html">HBase</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hive.html">Hive</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/ignite.html">Ignite</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/jdbc.html">JDBC</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/lens.html">Lens</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/markdown.html">Markdown</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/postgresql.html">Postgresql, hawq</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/scalding.html">Scalding</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/pleasecontribute.html">Shell</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/spark.html">Spark</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/tachyon.html">Tachyon</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/pleasecontribute.html">Tajo</a></li> + <li role="separator" class="divider"></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/dynamicinterpreterload.html">Dynamic Interpreter Loading</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/dependencymanagement.html">Interpreter Dependency Management</a></li> + </ul> + </li> + <li> + <a href="#" data-toggle="dropdown" class="dropdown-toggle">Display System <b class="caret"></b></a> + <ul class="dropdown-menu"> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/displaysystem/display.html">Text</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/displaysystem/display.html#html">Html</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/displaysystem/table.html">Table</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/displaysystem/angular.html">Angular</a></li> + </ul> + </li> + <li> + <a href="#" data-toggle="dropdown" class="dropdown-toggle">More <b class="caret"></b></a> + <ul class="dropdown-menu"> + <!-- li><span><b>Manual</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/notebookashomepage.html">Notebook as Homepage</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Notebook Storage</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/storage/storage.html#Git">Git Storage</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/storage/storage.html#S3">S3 Storage</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>REST API</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/rest-api/rest-interpreter.html">Interpreter API</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/rest-api/rest-notebook.html">Notebook API</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/rest-api/rest-configuration.html">Configuration API</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Security</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/security/overview.html">Security Overview</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/security/authentication.html">Authentication</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/security/notebook_authorization.html">Notebook Authorization</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/security/interpreter_authorization.html">Interpreter Authorization</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Development</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html">Writing Zeppelin Interpreter</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontribute.html">How to contribute (code)</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontributewebsite.html">How to contribute (website)</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Shiro Security</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/shiroauthentication.html">Shiro Authentication</a></li> + </ul> + </li> + </ul> + </nav><!--/.navbar-collapse --> + </div> + </div> + + <div class="container"> + +<!--<div class="hero-unit Notebook Authorization"> + <h1></h1> +</div> +--> + +<div class="row"> + <div class="col-md-12"> + <!-- +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +--> + +<h1>Notebook Authorization</h1> + +<p>We assume that there is an authentication component that associates a user string and a set of group strings with every NotebookSocket.</p> + +<p>Each note has the following: +* set of owner entities (users or groups) +* set of reader entities (users or groups) +* set of writer entities (users or groups)</p> + +<p>If a set is empty, it means that any user can perform that operation.</p> + +<p>The NotebookServer classifies every Note operation into three categories: read, write, manage. +Before executing a Note operation, it checks if the user and the groups associated with the NotebookSocket have permissions. For example, before executing an read +operation, it checks if the user and the groups have at least one entity that belongs to the reader entities.</p> + +<p>To initialize and modify note permissions, we provide UI like "Interpreter binding". The user inputs comma separated entities for owners, readers and writers. +We execute a rest api call with this information. In the backend we get the user information for the connection and allow the operation if the user and groups +associated with the current user have at least one entity that belongs to owner entities for the note.</p> + + </div> +</div> + + + <hr> + <footer> + <!-- <p>© 2016 The Apache Software Foundation</p>--> + </footer> + </div> + + + + + <script type="text/javascript"> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + + ga('create', 'UA-45176241-5', 'zeppelin.incubator.apache.org'); + ga('require', 'linkid', 'linkid.js'); + ga('send', 'pageview'); + +</script> + + + + </body> +</html> + Added: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/security/overview.html URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/security/overview.html?rev=1732761&view=auto ============================================================================== --- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/security/overview.html (added) +++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/security/overview.html Sun Feb 28 16:10:43 2016 @@ -0,0 +1,214 @@ + +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Security Overview</title> + <meta name="description" content="Security Overview"> + <meta name="author" content="The Apache Software Foundation"> + + <!-- Enable responsive viewport --> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <!-- Le HTML5 shim, for IE6-8 support of HTML elements --> + <!--[if lt IE 9]> + <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + + <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> + + <!-- Le styles --> + <link href="/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/bootstrap/css/bootstrap.css" rel="stylesheet"> + <link href="/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/css/style.css?body=1" rel="stylesheet" type="text/css"> + <link href="/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/css/syntax.css" rel="stylesheet" type="text/css" media="screen" /> + <!-- Le fav and touch icons --> + <!-- Update these with your own images + <link rel="shortcut icon" href="images/favicon.ico"> + <link rel="apple-touch-icon" href="images/apple-touch-icon.png"> + <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png"> + <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png"> + --> + + <!-- Js --> + <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script> + <script src="/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/bootstrap/js/bootstrap.min.js"></script> + <script src="/docs/0.6.0-incubating-SNAPSHOT/assets/themes/zeppelin/js/docs.js"></script> + + <!-- atom & rss feed --> + <link href="/docs/0.6.0-incubating-SNAPSHOT/atom.xml" type="application/atom+xml" rel="alternate" title="Sitewide ATOM Feed"> + <link href="/docs/0.6.0-incubating-SNAPSHOT/rss.xml" type="application/rss+xml" rel="alternate" title="Sitewide RSS Feed"> + </head> + + <body> + + <div id="menu" class="navbar navbar-inverse navbar-fixed-top" role="navigation"> + <div class="container"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="navbar-brand" href="/docs/0.6.0-incubating-SNAPSHOT"> + <img src="/assets/themes/zeppelin/img/zeppelin_logo.png" width="50" alt="I'm zeppelin"> + <span style="vertical-align:middle">Zeppelin</span> + <span style="vertical-align:baseline"><small>(0.6.0-incubating-SNAPSHOT)</small></span> + </a> + </div> + <nav class="navbar-collapse collapse" role="navigation"> + <ul class="nav navbar-nav"> + <li> + <a href="#" data-toggle="dropdown" class="dropdown-toggle">Quick Start <b class="caret"></b></a> + <ul class="dropdown-menu"> + <!-- li><span><b>Overview</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/index.html">Overview</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Install</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/install/install.html">Install</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/install/yarn_install.html">YARN Install</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/install/virtual_machine.html">Virtual Machine Install</a></li> + <li role="separator" class="divider"></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/install/upgrade.html">Upgrade Version</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Tutorial</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/tutorial/tutorial.html">Tutorial</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Guide</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/dynamicform.html">Dynamic Form</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/publish.html">Publish your Paragraph</a></li> + </ul> + </li> + <li> + <a href="#" data-toggle="dropdown" class="dropdown-toggle">Interpreter <b class="caret"></b></a> + <ul class="dropdown-menu"> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/interpreters.html">Overview</a></li> + <li role="separator" class="divider"></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/cassandra.html">Cassandra</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/elasticsearch.html">Elasticsearch</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/flink.html">Flink</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/geode.html">Geode</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hbase.html">HBase</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hive.html">Hive</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/ignite.html">Ignite</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/jdbc.html">JDBC</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/lens.html">Lens</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/markdown.html">Markdown</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/postgresql.html">Postgresql, hawq</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/scalding.html">Scalding</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/pleasecontribute.html">Shell</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/spark.html">Spark</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/tachyon.html">Tachyon</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/pleasecontribute.html">Tajo</a></li> + <li role="separator" class="divider"></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/dynamicinterpreterload.html">Dynamic Interpreter Loading</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/dependencymanagement.html">Interpreter Dependency Management</a></li> + </ul> + </li> + <li> + <a href="#" data-toggle="dropdown" class="dropdown-toggle">Display System <b class="caret"></b></a> + <ul class="dropdown-menu"> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/displaysystem/display.html">Text</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/displaysystem/display.html#html">Html</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/displaysystem/table.html">Table</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/displaysystem/angular.html">Angular</a></li> + </ul> + </li> + <li> + <a href="#" data-toggle="dropdown" class="dropdown-toggle">More <b class="caret"></b></a> + <ul class="dropdown-menu"> + <!-- li><span><b>Manual</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/notebookashomepage.html">Notebook as Homepage</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Notebook Storage</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/storage/storage.html#Git">Git Storage</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/storage/storage.html#S3">S3 Storage</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>REST API</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/rest-api/rest-interpreter.html">Interpreter API</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/rest-api/rest-notebook.html">Notebook API</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/rest-api/rest-configuration.html">Configuration API</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Security</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/security/overview.html">Security Overview</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/security/authentication.html">Authentication</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/security/notebook_authorization.html">Notebook Authorization</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/security/interpreter_authorization.html">Interpreter Authorization</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Development</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html">Writing Zeppelin Interpreter</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontribute.html">How to contribute (code)</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontributewebsite.html">How to contribute (website)</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Shiro Security</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/shiroauthentication.html">Shiro Authentication</a></li> + </ul> + </li> + </ul> + </nav><!--/.navbar-collapse --> + </div> + </div> + + <div class="container"> + +<!--<div class="hero-unit Security Overview"> + <h1></h1> +</div> +--> + +<div class="row"> + <div class="col-md-12"> + <!-- +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +--> + +<h1>Security Overview</h1> + +<p>There are three aspects to Zeppelin security:</p> + +<ul> +<li>Authentication: is the user who they say they are? <a href="authentication.html">More</a></li> +<li>Notebook authorization: does the user have permissions to read or write to a note? <a href="notebook_authorization.html">More</a></li> +<li>Interpreter and data source authorization: does the user have permissions to perform interpreter operations or access data source objects? <a href="interpreter_authorization.html">More</a></li> +</ul> + + </div> +</div> + + + <hr> + <footer> + <!-- <p>© 2016 The Apache Software Foundation</p>--> + </footer> + </div> + + + + + <script type="text/javascript"> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + + ga('create', 'UA-45176241-5', 'zeppelin.incubator.apache.org'); + ga('require', 'linkid', 'linkid.js'); + ga('send', 'pageview'); + +</script> + + + + </body> +</html> + Modified: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/sitemap.txt URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/sitemap.txt?rev=1732761&r1=1732760&r2=1732761&view=diff ============================================================================== --- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/sitemap.txt (original) +++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/sitemap.txt Sun Feb 28 16:10:43 2016 @@ -38,6 +38,10 @@ http://zeppelin.incubator.apache.org/res http://zeppelin.incubator.apache.org/rest-api/rest-notebook.html http://zeppelin.incubator.apache.org/rss.xml http://zeppelin.incubator.apache.org/screenshots.html +http://zeppelin.incubator.apache.org/security/authentication.html +http://zeppelin.incubator.apache.org/security/interpreter_authorization.html +http://zeppelin.incubator.apache.org/security/notebook_authorization.html +http://zeppelin.incubator.apache.org/security/overview.html http://zeppelin.incubator.apache.org/sitemap.txt http://zeppelin.incubator.apache.org/storage/storage.html http://zeppelin.incubator.apache.org/tutorial/tutorial.html Modified: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/storage/storage.html URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/storage/storage.html?rev=1732761&r1=1732760&r2=1732761&view=diff ============================================================================== --- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/storage/storage.html (original) +++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/storage/storage.html Sun Feb 28 16:10:43 2016 @@ -129,6 +129,12 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/rest-api/rest-notebook.html">Notebook API</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/rest-api/rest-configuration.html">Configuration API</a></li> <li role="separator" class="divider"></li> + <!-- li><span><b>Security</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/security/overview.html">Security Overview</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/security/authentication.html">Authentication</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/security/notebook_authorization.html">Notebook Authorization</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/security/interpreter_authorization.html">Interpreter Authorization</a></li> + <li role="separator" class="divider"></li> <!-- li><span><b>Development</b><span></li --> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html">Writing Zeppelin Interpreter</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontribute.html">How to contribute (code)</a></li> Modified: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/tutorial/tutorial.html URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/tutorial/tutorial.html?rev=1732761&r1=1732760&r2=1732761&view=diff ============================================================================== --- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/tutorial/tutorial.html (original) +++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/tutorial/tutorial.html Sun Feb 28 16:10:43 2016 @@ -129,6 +129,12 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/rest-api/rest-notebook.html">Notebook API</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/rest-api/rest-configuration.html">Configuration API</a></li> <li role="separator" class="divider"></li> + <!-- li><span><b>Security</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/security/overview.html">Security Overview</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/security/authentication.html">Authentication</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/security/notebook_authorization.html">Notebook Authorization</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/security/interpreter_authorization.html">Interpreter Authorization</a></li> + <li role="separator" class="divider"></li> <!-- li><span><b>Development</b><span></li --> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html">Writing Zeppelin Interpreter</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontribute.html">How to contribute (code)</a></li>
