Hi !
I'm a long-time user of SABnzbd, and I love this soft !
So thank you very much for it ! :-)
With a couple of friends, we're thinking about building a big seedbox ( mainly for torrent but I'd like to put SABnzbd on it ).
I would like to secure the server with a unique autentification, when connecting to the web-server.
At this time I was thinking of a simple htpasswd, with multiple users on it.
The thing is that SAB comes with an other web-server, and I don't know how to make them work together, or simply use one of them. ( If you do, it would be amazing :p )
So my question is : How can I add more users in the SABnzbd anthentification ? ( by hand or not, doesn't mater )
Thank you so much in advance !
Olbaid
( sorry for my poor english )
PS : I'm on a Debian 6.0 distrib
sabnzbd multi-user ( or with apache htpasswd ? )
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Re: sabnzbd multi-user ( or with apache htpasswd ? )
Not possible.olbaid wrote: So my question is : How can I add more users in the SABnzbd anthentification ? ( by hand or not, doesn't mater )
The only way is to run multiple instances, each with its own port and working folder(s).
Re: sabnzbd multi-user ( or with apache htpasswd ? )
ok ! 
Thank you for your answer !

Thank you for your answer !
Re: sabnzbd multi-user ( or with apache htpasswd ? )
Hi,
I agree with you Shypike, it is currently not possible. However, I'm running the kind of configuration Olbaid wants without any change to sabnzbd.(sorry for the late reply, I have lost my password and my login)
Here is the configuration I use:
- 1 system account for sabnzbd ('sab')
- N system accounts for each user (can be real un*x accounts [it is in my case] or not)
sabnzbd runs using "sab" account as well as a daemon I wrote.
My daemon scans all users "watch" directories and moves the files into sabnzbd watch directory. At end of download, I use sabnzbd script feature to call one of my script to move the downloaded files to the appropriate user final directory.
I have an ajax web UI allowing users to control their downloads (reorganize, pause, cancel), organize their rss and categories. Each user only sees its own data and an admin account permits global configuration of the application. The web UI is a standard PHP application running with apache (htpasswd protected). All password verification is delegated to the webserver. Users has never access directly to the only running sabnzbd.
Each user can put as many .nzb as they want, a round-robin on jobs will ensure no user keeps sabnzbd for more than 1 minute (very useful for very big job). One user also has "admin" privilege allowing creation of users inside the GUI, enter parameter to connect to sabnzbd, remove any user jobs, ...
The program is fully functionnable (I use it with 9 other persons for more than a year).
Currently, some features are missing, not working or not working as expected:
- no installer (first installation is a bit tricky, especially admin creation which requires an account in my app which requires admin to be created).
- no installation manual (would be too easy
).
- in very few cases, my daemon suddenly stops to take into account watch and complete directory (only occurs 1 time in 9 months), I suspect this freeze comes from PHP update while daemon is running.
- in few cases, a failed download does not have its files move back to the user directory, the web UI reports the xfer error.
- my daemon provides very basic support for nzbstatus (firefox plugin), just enough to work but nothing more.
- the daemon is not yet a "real" daemon, I run it inside a "screen" to be able to see log in real time.
some sabnzbd features become unavailable:
- other script plugins are not compatible with my script plugin. In reality, it may work but plugin moving/renaming directories will probably generate errors and plugins will be shared by all users because there is only 1 sabnzbd running all user jobs.
- job priority is internally used by my program.
Individual RSS and categories are fully functionnal.
My program also performs additionnal tasks on download data (remove files by pattern, remove empty directory).
I agree with you Shypike, it is currently not possible. However, I'm running the kind of configuration Olbaid wants without any change to sabnzbd.(sorry for the late reply, I have lost my password and my login)
Here is the configuration I use:
- 1 system account for sabnzbd ('sab')
- N system accounts for each user (can be real un*x accounts [it is in my case] or not)
sabnzbd runs using "sab" account as well as a daemon I wrote.
My daemon scans all users "watch" directories and moves the files into sabnzbd watch directory. At end of download, I use sabnzbd script feature to call one of my script to move the downloaded files to the appropriate user final directory.
I have an ajax web UI allowing users to control their downloads (reorganize, pause, cancel), organize their rss and categories. Each user only sees its own data and an admin account permits global configuration of the application. The web UI is a standard PHP application running with apache (htpasswd protected). All password verification is delegated to the webserver. Users has never access directly to the only running sabnzbd.
Each user can put as many .nzb as they want, a round-robin on jobs will ensure no user keeps sabnzbd for more than 1 minute (very useful for very big job). One user also has "admin" privilege allowing creation of users inside the GUI, enter parameter to connect to sabnzbd, remove any user jobs, ...
The program is fully functionnable (I use it with 9 other persons for more than a year).
Currently, some features are missing, not working or not working as expected:
- no installer (first installation is a bit tricky, especially admin creation which requires an account in my app which requires admin to be created).
- no installation manual (would be too easy

- in very few cases, my daemon suddenly stops to take into account watch and complete directory (only occurs 1 time in 9 months), I suspect this freeze comes from PHP update while daemon is running.
- in few cases, a failed download does not have its files move back to the user directory, the web UI reports the xfer error.
- my daemon provides very basic support for nzbstatus (firefox plugin), just enough to work but nothing more.
- the daemon is not yet a "real" daemon, I run it inside a "screen" to be able to see log in real time.
some sabnzbd features become unavailable:
- other script plugins are not compatible with my script plugin. In reality, it may work but plugin moving/renaming directories will probably generate errors and plugins will be shared by all users because there is only 1 sabnzbd running all user jobs.
- job priority is internally used by my program.
Individual RSS and categories are fully functionnal.
My program also performs additionnal tasks on download data (remove files by pattern, remove empty directory).
Re: sabnzbd multi-user ( or with apache htpasswd ? )
Nice, want to publish it on github.com ?reims67 wrote: My daemon scans all users "watch" directories and moves the files into sabnzbd watch directory. At end of download, I use sabnzbd script feature to call one of my script to move the downloaded files to the appropriate user final directory.
Re: sabnzbd multi-user ( or with apache htpasswd ? )
Currently, I don't think it is ready to be publish on github but I can make it available on my own site, just the time to make an install manual.
Re: sabnzbd multi-user ( or with apache htpasswd ? )
Hi again,
My work mades me a bit busy and it tooks me a longer time than expected to make a quick install guide but here is my little program.
http://w-id.eu/muwinzb-20130703.tgz. Installation manual is inside docs/ directory as well as few snapshots.
My work mades me a bit busy and it tooks me a longer time than expected to make a quick install guide but here is my little program.
http://w-id.eu/muwinzb-20130703.tgz. Installation manual is inside docs/ directory as well as few snapshots.
Re: sabnzbd multi-user ( or with apache htpasswd ? )
Thanks that's what I was looking for, I will try it out
gr. Marco

gr. Marco