# How to prevent other people from deleting index?

**URL:** <https://discuss.elastic.co/t/how-to-prevent-other-people-from-deleting-index/7819>\
**Category:** Elasticsearch\
**Created:** [May 23, 2012, 9:56am UTC](https://discuss.elastic.co/t/how-to-prevent-other-people-from-deleting-index/7819 "2012-05-23T09:56:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrblue](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mrblue/32/23268_2.png) [@mrblue](https://discuss.elastic.co/u/mrblue)\
**Post date:** [May 23, 2012, 9:56am UTC](https://discuss.elastic.co/t/how-to-prevent-other-people-from-deleting-index/7819/1 "2012-05-23T09:56:29Z")

</div>

Hi everybody,

i am going to start using elasticsearch in my shop these days. I made  
two little scripts to rebuild and to delete the index and put them in  
a password protected folder. Everything is working fine 🙂

Now i am wondering: How can i prevent that other people delete my  
index ?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 23, 2012, 10:23am UTC](https://discuss.elastic.co/t/how-to-prevent-other-people-from-deleting-index/7819/2 "2012-05-23T10:23:30Z")

</div>

Have a look at this plugin : [GitHub - sonian/elasticsearch-jetty](https://github.com/sonian/elasticsearch-jetty)

HTH  
David 😉  
Twitter : @dadoonet / @elasticsearchfr

Le 23 mai 2012 à 11:56, mrblue [john.agricola.27@googlemail.com](mailto:john.agricola.27@googlemail.com) a écrit :

> Hi everybody,
> 
> i am going to start using elasticsearch in my shop these days. I made  
> two little scripts to rebuild and to delete the index and put them in  
> a password protected folder. Everything is working fine 🙂
> 
> Now i am wondering: How can i prevent that other people delete my  
> index ?

---

<div class="post-metadata">

**Author:** ![mrblue](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mrblue/32/23268_2.png) [@mrblue](https://discuss.elastic.co/u/mrblue)\
**Post date:** [May 23, 2012, 10:35am UTC](https://discuss.elastic.co/t/how-to-prevent-other-people-from-deleting-index/7819/3 "2012-05-23T10:35:52Z")

</div>

Thx a lot 🙂  
What does this plugin exactly do ?

On Wednesday, May 23, 2012 12:23:30 PM UTC+2, David Pilato wrote:

> Have a look at this plugin : [GitHub - sonian/elasticsearch-jetty](https://github.com/sonian/elasticsearch-jetty)
> 
> HTH  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr
> 
> > Hi everybody,
> > 
> > i am going to start using elasticsearch in my shop these days. I made  
> > two little scripts to rebuild and to delete the index and put them in  
> > a password protected folder. Everything is working fine 🙂
> > 
> > Now i am wondering: How can i prevent that other people delete my  
> > index ?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 23, 2012, 11:53am UTC](https://discuss.elastic.co/t/how-to-prevent-other-people-from-deleting-index/7819/4 "2012-05-23T11:53:09Z")

</div>

It uses jetty for Http.  
So you can define rules.

I wrote something here : [http://dev.david.pilato.fr/?p=241](http://dev.david.pilato.fr/?p=241)

Although it's in French, you can translate it or just look at the source code examples.

David 😉  
Twitter : @dadoonet / @elasticsearchfr

Le 23 mai 2012 à 12:35, mrblue [john.agricola.27@googlemail.com](mailto:john.agricola.27@googlemail.com) a écrit :

> Thx a lot 🙂  
> What does this plugin exactly do ?
> 
> On Wednesday, May 23, 2012 12:23:30 PM UTC+2, David Pilato wrote:  
> Have a look at this plugin : [GitHub - sonian/elasticsearch-jetty](https://github.com/sonian/elasticsearch-jetty)
> 
> HTH  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr
> 
> > Hi everybody,
> > 
> > i am going to start using elasticsearch in my shop these days. I made  
> > two little scripts to rebuild and to delete the index and put them in  
> > a password protected folder. Everything is working fine 🙂
> > 
> > Now i am wondering: How can i prevent that other people delete my  
> > index ?

---

<div class="post-metadata">

**Author:** ![mrblue](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mrblue/32/23268_2.png) [@mrblue](https://discuss.elastic.co/u/mrblue)\
**Post date:** [May 23, 2012, 12:12pm UTC](https://discuss.elastic.co/t/how-to-prevent-other-people-from-deleting-index/7819/5 "2012-05-23T12:12:58Z")

</div>

Mon francais n´est pas le meilleur, mais je vai essayer 😉

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:27am UTC](https://discuss.elastic.co/t/how-to-prevent-other-people-from-deleting-index/7819/6 "2017-07-06T03:27:31Z")

</div>


