Password Access
hi can you help me a way so that the password is only requested when accessing the index, for example I share a video link to my friend he does not have to enter a password to watch the video
I don't want to disable the password in the index because I only want to share certain files
Thanks
you can change line 628
if (self.props.auth && !doBasicAuth(request)) {
to
if (request.url.endsWith('/')&&self.props.auth && !doBasicAuth(request)) {
it means only access directory need auth
you can change line 628
if (self.props.auth && !doBasicAuth(request)) {toif (request.url.endsWith('/')&&self.props.auth && !doBasicAuth(request)) {it means only access path need auth
This is great, How about to use security tokens in file, so others can't use the link to others site?? can you help me to do it??
you can change line 628
if (self.props.auth && !doBasicAuth(request)) {toif (request.url.endsWith('/')&&self.props.auth && !doBasicAuth(request)) {it means only access path need authThis is great, How about to use security tokens in file, so others can't use the link to others site?? can you help me to do it??
Original code work fine,both access path and file need authorization.setting in line 7~9
you can change line 628
if (self.props.auth && !doBasicAuth(request)) {toif (request.url.endsWith('/')&&self.props.auth && !doBasicAuth(request)) {it means only access path need authThis is great, How about to use security tokens in file, so others can't use the link to others site?? can you help me to do it??
Original code work fine,both access path and file need authorization.setting in line 7~9
Yes i knew it, what i want is to use your code: if (request.url.endsWith('/')&&self.props.auth && !doBasicAuth(request)) {
then the file on it, example: video.mp4 direct link will put in jwplayer but also with additonal security token that only i know about the token, so others can't use my direct link with their site/player.
Can you help me about this @ju4tin ?? i will donate to you for solve this problem..Thanks.
you can change line 628
if (self.props.auth && !doBasicAuth(request)) {toif (request.url.endsWith('/')&&self.props.auth && !doBasicAuth(request)) {it means only access path need authThis is great, How about to use security tokens in file, so others can't use the link to others site?? can you help me to do it??
Original code work fine,both access path and file need authorization.setting in line 7~9
Yes i knew it, what i want is to use your code: if (request.url.endsWith('/')&&self.props.auth && !doBasicAuth(request)) {
then the file on it, example: video.mp4 direct link will put in jwplayer but also with additonal security token that only i know about the token, so others can't use my direct link with their site/player.
Can you help me about this @ju4tin ?? i will donate to you for solve this problem..Thanks.
use original code,and request file with a Authorization Header
Original code work fine,both access path and file need authorization.setting in line 7~9
Yes i knew it, what i want is to use your code: if (request.url.endsWith('/')&&self.props.auth && !doBasicAuth(request)) { then the file on it, example: video.mp4 direct link will put in jwplayer but also with additonal security token that only i know about the token, so others can't use my direct link with their site/player. Can you help me about this @ju4tin ?? i will donate to you for solve this problem..Thanks.
use original code,and request file with a Authorization Header
Already tried that, sadly jwplayer is still ask about user & pass, even i already put user:pass@ within direct link..
@sajad-tnt Google Drive ID is already visible to client side, what you can do is to not share the folder to other except using GDIndex.