How to prevent other people from deleting index?


(mrblue) #1

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 :slight_smile:

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


(David Pilato) #2

Have a look at this plugin : https://github.com/sonian/elasticsearch-jetty

HTH
David :wink:
Twitter : @dadoonet / @elasticsearchfr

Le 23 mai 2012 à 11:56, mrblue 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 :slight_smile:

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


(mrblue) #3

Thx a lot :slight_smile:
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 : https://github.com/sonian/elasticsearch-jetty

HTH
David :wink:
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 :slight_smile:

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


(David Pilato) #4

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

I wrote something here : 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 :wink:
Twitter : @dadoonet / @elasticsearchfr

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

Thx a lot :slight_smile:
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 : https://github.com/sonian/elasticsearch-jetty

HTH
David :wink:
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 :slight_smile:

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


(mrblue) #5

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


(system) #6