diff --git a/SECURITY-README.md b/SECURITY-README.md index 4a6ca9493fe..4ef7440db12 100644 --- a/SECURITY-README.md +++ b/SECURITY-README.md @@ -16,12 +16,7 @@ limitations under the License. To connect to Zeppelin, users will be asked to enter their credentials. Once logged, a user has access to all notes including other users notes. This a a first step toward full security as implemented by this pull request (https://github.com/apache/zeppelin/pull/53). -# Security setup -1. Secure the HTTP channel: Comment the line "/** = anon" and uncomment the line "/** = authc" in the file conf/shiro.ini. Read more about he shiro.ini file format at the following URL http://shiro.apache.org/configuration.html#Configuration-INISections. -2. Secure the Websocket channel : Set to property "zeppelin.anonymous.allowed" to "false" in the file conf/zeppelin-site.xml. You can start by renaming conf/zeppelin-site.xml.template to conf/zeppelin-site.xml -3. Start Zeppelin : bin/zeppelin.sh -4. point your browser to http://localhost:8080 -5. Login using one of the user/password combinations defined in the conf/shiro.ini file. +Please check [Shiro authentication in Apache Zeppelin](https://zeppelin.apache.org/docs/snapshot/security/shiroauthentication.html) in our official website for more detailed information(e.g. How to setup the security, How to configure user groups and permissions, and etc). # Implementation notes ## Vocabulary diff --git a/docs/security/shiroauthentication.md b/docs/security/shiroauthentication.md index de015b9d1b4..edf202fb815 100644 --- a/docs/security/shiroauthentication.md +++ b/docs/security/shiroauthentication.md @@ -41,10 +41,10 @@ cp conf/shiro.ini.template conf/shiro.ini For the further information about `shiro.ini` file format, please refer to [Shiro Configuration](http://shiro.apache.org/configuration.html#Configuration-INISections). -### 3. Secure the Websocket channel +### 2. Secure the Websocket channel Set to property **zeppelin.anonymous.allowed** to **false** in `conf/zeppelin-site.xml`. If you don't have this file yet, just copy `conf/zeppelin-site.xml.template` to `conf/zeppelin-site.xml`. -### 4. Start Zeppelin +### 3. Start Zeppelin ``` bin/zeppelin-daemon.sh start (or restart) @@ -52,7 +52,7 @@ bin/zeppelin-daemon.sh start (or restart) Then you can browse Zeppelin at [http://localhost:8080](http://localhost:8080). -### 5. Login +### 4. Login Finally, you can login using one of the below **username/password** combinations.