asc has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
constxqt_ has joined #ruby
asc has joined #ruby
jenrzzz_ has quit [Ping timeout: 240 seconds]
Linux_Kerio has quit [Ping timeout: 245 seconds]
constxqt_ has quit [Ping timeout: 260 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 260 seconds]
constxqt_ has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
constxqt_ has quit [Remote host closed the connection]
gr33n7007h has joined #ruby
constxqt_ has joined #ruby
constxqt_ has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
constxqt_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 276 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
asc has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
constxqt_ has quit [Remote host closed the connection]
constxqt_ has joined #ruby
jenrzzz has joined #ruby
constxqt_ has quit [Ping timeout: 268 seconds]
constxqt_ has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
<ih8u>
can anyone help me figure out how to require rodauth login for a file in roda?
<ih8u>
say i have the file at public/file.pdf, when the get request comes through, i want to make sure the user is logged in (easy), then if so show the file as normal (can't figure this out)
constxqt_ has quit [Ping timeout: 245 seconds]
<ih8u>
unless there's a more sophisticated method of serving account-protected files that i'm not considering
Pixi` has joined #ruby
Pixi__ has quit [Ping timeout: 276 seconds]
constxqt_ has joined #ruby
constxqt_ has quit [Ping timeout: 264 seconds]
constxqt_ has joined #ruby
xlymian has joined #ruby
constxqt_ has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
reset has quit [Quit: reset]
gr33n7007h has quit [Ping timeout: 245 seconds]
gr33n7007h has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
xlymian has quit [Ping timeout: 260 seconds]
ih8u has quit [Read error: Connection reset by peer]
ih8u has joined #ruby
jenrzzz_ has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
fp- has joined #ruby
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
fp- has left #ruby [#ruby]
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz_ has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
constxqt_ has joined #ruby
Munto has joined #ruby
brokkoli_origin has quit [Remote host closed the connection]
constxqt_ has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
brokkoli_origin has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz_ has quit [Ping timeout: 245 seconds]
fercell has joined #ruby
fercell_ has quit [Ping timeout: 264 seconds]
Guest91 has joined #ruby
constxqt_ has joined #ruby
Guest91 has quit [Quit: Client closed]
constxqt_ has quit [Ping timeout: 252 seconds]
<ox1eef_>
public/ is typically for static assets that are served directly by a web server, and don't go through the Ruby stack. If they are sensitive, you would store them somewhere else on the filesystem that's protected by Ruby code which can read and send those files if the conditions are right.
constxqt_ has joined #ruby
Al2O3 has quit [Quit: Good mourning, good after nun, g'nite, and goober evenings.]
Al2O3 has joined #ruby
Al2O3 has joined #ruby
Al2O3 has quit [Changing host]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
constxqt_ has quit [Ping timeout: 268 seconds]
constxqt_ has joined #ruby
constxqt_ has quit [Ping timeout: 252 seconds]
TomyLobo has quit [Quit: Leaving]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
tomtmym has quit [Quit: Gone.]
jenrzzz has joined #ruby
constxqt_ has joined #ruby
constxqt_ has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 246 seconds]
constxqt_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
constxqt_ has quit [Remote host closed the connection]
constxqt_ has joined #ruby
constxqt_ has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
constxqt_ has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
constxqt_ has quit [Ping timeout: 268 seconds]
Vonter has quit [Ping timeout: 240 seconds]
Vonter has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
042AAG0DK has joined #ruby
042AAG0DK has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
grenierm has joined #ruby
crespire has joined #ruby
crespire1 has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
xHire has quit []
xHire has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
ionface has quit []
jenrzzz has joined #ruby
xHire has quit []
xHire has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
Linux_Kerio has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz_ has quit [Ping timeout: 260 seconds]
Paris has joined #ruby
Paris has quit [Quit: quit]
Vonter has quit [Remote host closed the connection]
Vonter has joined #ruby
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz_ has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
grenierm has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
_ht has joined #ruby
reset has joined #ruby
Paris has joined #ruby
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz_ has quit [Ping timeout: 256 seconds]
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
jenrzzz has joined #ruby
ionface has joined #ruby
Vonter has quit [Ping timeout: 245 seconds]
Paris has quit [Remote host closed the connection]
Vonter has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
MomosOrDeath1 has joined #ruby
MomosOrDeath has quit [Ping timeout: 260 seconds]
MomosOrDeath1 is now known as MomosOrDeath
mexen has joined #ruby
ionface has quit []
infinityfye has joined #ruby
ht_ has joined #ruby
_ht has quit [Ping timeout: 255 seconds]
ht_ is now known as _ht
Vetheon has joined #ruby
Paris has joined #ruby
Paris has quit [Remote host closed the connection]
Paris has joined #ruby
Paris has quit [Remote host closed the connection]
Paris has joined #ruby
Paris has quit [Remote host closed the connection]
Hobbyboy has quit [Quit: The BNC has broken!]
Hobbyboy has joined #ruby
xdminsy has joined #ruby
constxqt_ has joined #ruby
constxqt_ has quit [Ping timeout: 264 seconds]
Paris has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
ht_ has joined #ruby
_ht has quit [Ping timeout: 246 seconds]
ht_ is now known as _ht
<adam12>
ih8u: Don't put it at public/. I'd put it somewhere else, and then put the r.public(root: "some-private-path") somewhere after the rodauth.require_authentication call.
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
Vetheon has left #ruby [#ruby]
asc has joined #ruby
Vetheon has joined #ruby
Vetheon has quit [Client Quit]
Vetheon has joined #ruby
Vetheon has quit [Changing host]
Vetheon has joined #ruby
Vetheon has quit [Client Quit]
Vetheon has joined #ruby
Vetheon has quit [Changing host]
Vetheon has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
constxqt_ has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 245 seconds]
constxqt_ has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
jenrzzz_ has quit [Ping timeout: 245 seconds]
constxqt_ has joined #ruby
asc has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
asc has joined #ruby
justIrresolute is now known as justache
dviola has quit [Quit: WeeChat 4.1.2]
dviola has joined #ruby
jenrzzz has joined #ruby
ionface has joined #ruby
Paris has quit [Remote host closed the connection]