mbok / logsniffer

logsniffer is a sophisticated open source web tool for parsing, viewing, monitoring and analyzing log data - smarter, collaborative and easier. [No longer maintaned]
GNU Lesser General Public License v3.0
105 stars 46 forks source link

Support for simple authentication and authorisation #1

Open logsniffer opened 9 years ago

JohannStahl commented 8 years ago

I evaluated different log management tools and found logsniffer to be the best.

We want to view the log like it originally was in the file, which logsniffer supports. Really digging it.

Please consider implementing authentication and authorisation support earlier than currently planned, since that is the only thing hindering us from using it.

mbok commented 8 years ago

Thanks for the very positive feedback! I've rescheduled the feature for the minor release 0.7 after next. Could you please provide me some hints which use cases you are primary interested in? Authentication:

Authorization:

JohannStahl commented 8 years ago

Thanks for clarifying. Actually, after having thought about it some more, I feel our use case is the following: we need security Authentication:

Authorization:

HTTPS

To us, log files are highly critical. An attacker gaining access to them is a worst case scenario. Therefore, transmitting them to the browser in a http session is a no-go.

mbok commented 8 years ago

@JohannStahl your needs regarding HTTPS can be achieved easily by setting up an Apache web server in front of logsniffer. I've written this wiki chapter which describes a setup for operating logsniffer in a secure way behind Apache with HTTPS.

As long as logsniffer doesn't support authentication (user/password) by itself you can also use Apache for this purpose. For the same use case I've already used the basic auth module. It can be simply combined with the SSL settings figured out in the wiki. Give it a try.

Thanks a lot for sharing your ideas and use cases.

shehanster commented 8 years ago

@mbok I found this the best tool to have the tail feature. How ever if I am to implement this to production I would want to have an admin user and a normal real only user for the dashboard, is this possible to implement in a upcoming release?

what im currently hoping to do is to have 2 users setup for basic auth

  1. /c/system
  2. /c/source

response on the feedback would be highly appreciated :)

mbok commented 8 years ago

Thanks for feedback and sharing your ideas. I think a simple solution would be able to address in the next version 0.6.x.

chriseverty commented 7 years ago

I started to have a look into this, what I am currently puzzled about is that it appears as if there were 2 different versions of AngularJS in place, am I correct about this?

I found

mbok commented 7 years ago

The 1.5.3 version is the used one. The older version is only bundled due to historical reasons but not used and could be deleted without worries.