You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have a question.
I have set up PrivateBin to use 2 instances and one file system, so that I have a subdomain (write.domain.com) to encrypt content, which is then displayed with the other instance (read.domain.com). For read.domain.com I have hidden unimportant buttons using CSS. And for write.domain.com I have an htaccess password.
So, according to this principle: "Method 3: This is the most secure method, but also the most complex. You could run 2 instances of PrivateBin, one which is protected behind some basic authentication or an obscure URL, and another which runs as a user which doesn't have filesystem/database write access. Both can use the same install files but you can use the CONFIG_PATH environment variable to configure each one as necessary. The rewriting of URLs would have to be done in your web server." https://github.com/PrivateBin/PrivateBin/wiki/FAQ#how-can-i-link-to-a-read-only-mode-where-users-cant-submit-pastes
Did you use the FAQ section?
Yes, I have read the FAQ and I found no solution/answer there.
What you did?
That actually works quite well.
But I wanted to ask if anyone has an idea how to solve the problem that the subdomain of the other instance is inserted in one instance when the link is generated.
It is not possible to change the code and basepath has no effect in this regard.
That is why I wanted to ask if there is perhaps another solution.
What happens
When I create content, I get a link with a key. The domain is write.domain.com/?Key
But for the domain write.domain.com, I would be happy if read.domain.com/?Key was used when generating the link.
I also don't want to set up a redirect via htaccess. Because I don't want others to know that there is a second instance with write.domain.com. So, it would be good if there was perhaps another solution.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Describe the problem/question
Hi, I have a question.
I have set up PrivateBin to use 2 instances and one file system, so that I have a subdomain (write.domain.com) to encrypt content, which is then displayed with the other instance (read.domain.com). For read.domain.com I have hidden unimportant buttons using CSS. And for write.domain.com I have an htaccess password.
So, according to this principle: "Method 3: This is the most secure method, but also the most complex. You could run 2 instances of PrivateBin, one which is protected behind some basic authentication or an obscure URL, and another which runs as a user which doesn't have filesystem/database write access. Both can use the same install files but you can use the CONFIG_PATH environment variable to configure each one as necessary. The rewriting of URLs would have to be done in your web server."
https://github.com/PrivateBin/PrivateBin/wiki/FAQ#how-can-i-link-to-a-read-only-mode-where-users-cant-submit-pastes
Did you use the FAQ section?
What you did?
That actually works quite well.
But I wanted to ask if anyone has an idea how to solve the problem that the subdomain of the other instance is inserted in one instance when the link is generated.
It is not possible to change the code and basepath has no effect in this regard.
That is why I wanted to ask if there is perhaps another solution.
What happens
When I create content, I get a link with a key. The domain is write.domain.com/?Key
But for the domain write.domain.com, I would be happy if read.domain.com/?Key was used when generating the link.
I also don't want to set up a redirect via htaccess. Because I don't want others to know that there is a second instance with write.domain.com. So, it would be good if there was perhaps another solution.
What should happen
No response
Additional information
No response
Server address
No response
Server OS
No response
Webserver
No response
PrivateBin version
No response
Browser and version
No response
Local operating system and version
No response
Issue reproducibility
No, I cannot reproduce it on https://privatebin.net.
Beta Was this translation helpful? Give feedback.
All reactions