Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security features in bukuserver #309

Closed
rthorntn opened this issue Aug 21, 2018 · 19 comments
Closed

Security features in bukuserver #309

rthorntn opened this issue Aug 21, 2018 · 19 comments

Comments

@rthorntn
Copy link

rthorntn commented Aug 21, 2018

Thanks for creating and maintaining this project.

A bukuserver on the web seems to make sense for me, I would put it on a public IP address, so I could add bookmarks to it from all my devices, is there a way to secure it though, to stop some random person from altering my bookmarks?

I have an Android phone, iPad tablet, Linux, Mac and Windows PC's, I want to be able to access my bookmarks on any of them from anywhere.

Some thoughts I had on security:

  • Perhaps I could install a reverse proxy in front of bukuserver.

  • I want to stay away from VPN's.

  • Encryption would be nice but I'm not really worried about people seeing my bookmarks.

  • My main concern is somebody messing with my bookmarks.

@jarun
Copy link
Owner

jarun commented Aug 21, 2018

@rachmadaniHaryono please take a look.

@rachmadaniHaryono
Copy link
Collaborator

there is plan to add login feature, but i am busy irl. so until it is implemented, it is recommended to run it on trusted local environment

@jarun
Copy link
Owner

jarun commented Aug 30, 2018

I am adding an item in the ToDo list for this and closing the defect.

@jarun jarun closed this as completed Aug 30, 2018
@jarun jarun mentioned this issue Aug 30, 2018
61 tasks
@ckolumbus
Copy link
Collaborator

ckolumbus commented Dec 13, 2018

you might want to check out Shaarli for production ready solution for publicly hosted internet service.
I actually have both services running, buku and Shaarli, for different usage scenarios

@rthorntn
Copy link
Author

rthorntn commented Dec 14, 2018 via email

@jarun
Copy link
Owner

jarun commented Dec 15, 2018

@rachmadaniHaryono would it be possible to expose the DB file encrypt and decrpy feature? That should block unauthorized access to the database till you can come up with a password-based locking mechanism.

@jarun jarun reopened this Dec 15, 2018
@jarun jarun changed the title Security features Security features in bukuserver Dec 15, 2018
@rachmadaniHaryono
Copy link
Collaborator

2 way to do this

  1. put an interface for user to input password on encrypted database
  2. put a password prompt every time user start with an encrypted database

2 is the easiest with minimum change to html/routing etc

1 need more planning. i assume there should be a way so user can decrypt once on a single session until the server shutdown or user log out

@jarun
Copy link
Owner

jarun commented Dec 15, 2018

I am fine with the easiest option as long as the security aspect remains the same.

@ckolumbus
Copy link
Collaborator

ckolumbus commented Dec 15, 2018

@rthorntn

Thanks Chris, could you help me out with the reasons for using both, can you share the bookmark data between Baku & Shaarli?

Regarding sharing: you could, but it's not implementd on either side. and i'm not sure whether this is necessary, at least in my case(see reason below)

Regarding my reasons for using both:

Shaarli has a very good integration with other systems: you have firefox add ins, an android app, it can integrate with wallabag, and much more. This is all very nice for my private needs where my bookmarks are hosted on an hosted linux and have global protected r/w access from anywhere.

For use within my professional environment I cannot store internal addresses on outside systems, but I also cannot host an internal service. So Buku helps me here to store company internal bookmarks in an efficient way with "enough" integration. The biggest benefit: it's browser independent as I'm using 3-4 browsers regularly.

I'm currently developing plugins for buku and Shaarli to call bookmarks directly from Keypirinha. Buku is already working, shaarli integration is givining me some troubles. This allows me to call up any bookmark quite quickly and efficiently. Together with BrowserSelect I can define how to open each of these bookmarks then.

At the end I do have all my bookmarks at my fingertips but can keep my company information isolated.

Maybe you can get some ideas on how to improve your bookmarks workflow :-)

@jarun jarun mentioned this issue Dec 29, 2018
66 tasks
@jarun
Copy link
Owner

jarun commented Jan 19, 2019

@rachmadaniHaryono @ckolumbus could any of you pick this up?

@ckolumbus
Copy link
Collaborator

@jarun I'm quite busy at the moment but i'll try to get a little design proposal done for review so that the security aspects are considered appropriately

@jarun
Copy link
Owner

jarun commented Jan 28, 2019

Thanks!

@jarun
Copy link
Owner

jarun commented Apr 24, 2019

This defect is linked in the ToDo list. Closing the defect.

@jarun jarun closed this as completed Apr 24, 2019
@RyanRLong
Copy link
Contributor

I can have a look, but I'm confused if this issue is closed or not.

@jarun
Copy link
Owner

jarun commented May 11, 2019

It's not closed. Feel free to pitch in!

@RyanRLong
Copy link
Contributor

@jarun Can I use Flask issued plug-ins with pip?

@jarun
Copy link
Owner

jarun commented May 12, 2019

@rachmadaniHaryono please confirm.

@rachmadaniHaryono
Copy link
Collaborator

i think it is fine

@tom-i
Copy link
Contributor

tom-i commented Mar 22, 2020

Hi guys, is there any possibility how to secure bukuserver from internet?

@github-actions github-actions bot locked and limited conversation to collaborators Jun 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants