Jump to content

jgomez709

Recommended Posts

jgomez709

Estimated a problem has been presented to us, several days ago we have noticed that some users are downloading the files from the server, since they do not have us download permissions from the Emby application.

We have noticed that they are using download programs such as internet download manager and I wanted some others, I tell you this because I did a test myself and I could download content without having to have the permissions in emby.

Now the question is, this can be restricted, since by observing on the scorecard, I do not have the option to cacelar the transmission.

We attach two images, the image "1.jpg" shows a user downloading content and we observing without being able to do anything to solve it.

The figure "2.jpg" shows the configuration of this user.

We also attach the emby log, to see if they can help us in any way so that this situation cannot continue happening.


Greetings.

post-297456-0-52856000-1566586887_thumb.jpg

post-297456-0-35640900-1566587038_thumb.jpg

ffmpeg-remux-ed9efe2d-2b8b-4d01-8023-3965f7ba0d43_1.log

Link to comment
Share on other sites

PenkethBoy

using a d/l manager is outside of Emby's control - as its "copying" the video via the browser not from Emby

Link to comment
Share on other sites

jgomez709

But emby detects it, as the attached image shows, and the subject is that it does show it, so it should allow you to cancel the transmission.

 

5d6045aab98ee_1.jpg

Link to comment
Share on other sites

jgomez709

Also mention that in the log of emby I clearly know that it is detected, then you should see a way to end that transmission.

2019-08-23 20:40:05.162
Emby Server version: 4.2.1.0

App: Emby Mobile 4.2.0.46
Firefox

http://37.48.95.99:8096/emby/videos/52818/hls1/main/0.ts?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgNi4zOyBXaW42NDsgeDY0OyBydjo2OC4wKSBHZWNrby8yMDEwMDEwMSBGaXJlZm94LzY4LjB8MTU2NjQxMDc1NDAxOQ11&MediaSourceId=a38b953c3f6a529f2b2e04881d9f5c9d&PlaySessionId=5b7e9795543b4e0d973d512054e9c2b3&api_key=ccb7c1c55ed24fbf8c4056e06e588a41&VideoCodec=h264&AudioCodec=aac&VideoBitrate=9808000&AudioBitrate=192000&AudioStreamIndex=1&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=ContainerNotSupported

{"Protocol":"File","Id":"a38b953c3f6a529f2b2e04881d9f5c9d","Path":"/home/jgomez709/series/Mr Robot/Temporada 2/Mr. Robot 2x03.mkv","Type":"Default","Container":"mkv","Size":682292112,"Name":"Mr. Robot 2x03","IsRemote":false,"RunTimeTicks":37817910000,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[{"Codec":"h264","ColorTransfer":"bt709","ColorPrimaries":"bt709","ColorSpace":"bt709","TimeBase":"1/1000","CodecTimeBase":"1001/48000","VideoRange":"SDR","DisplayTitle":"720p H264","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"BitRate":1443320,"BitDepth":8,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":720,"Width":1280,"AverageFrameRate":23.9760246,"RealFrameRate":23.9760246,"Profile":"Main","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","PixelFormat":"yuv420p","Level":41,"IsAnamorphic":false},{"Codec":"mp3","Language":"spa","TimeBase":"1/1000","CodecTimeBase":"1/48000","DisplayTitle":"Spanish MP3 stereo (Default)","DisplayLanguage":"Spanish","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":192000,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0},{"Codec":"aac","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","DisplayTitle":"English AAC stereo","DisplayLanguage":"English","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":192000,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Profile":"HE-AAC","Type":"Audio","Index":2,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","Level":0},{"Codec":"subrip","Language":"spa","TimeBase":"1/1000","CodecTimeBase":"0/1","DisplayTitle":"Spanish (SUBRIP)","DisplayLanguage":"Spanish","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":3,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File","Level":0}],"Formats":[],"Bitrate":1443320,"RequiredHttpHeaders":{},"ReadAtNativeFramerate":false}
Link to comment
Share on other sites

PenkethBoy

Emby detects it because the user started playing it via Emby in the first place

 

As for cancelling it yes it should have that option

 

If you go to Dashboard>Users - and disable the user - that IIRC will stop the stream - not idea but easy enough to do - then the user will complain and you can tell them to stop doing it

Link to comment
Share on other sites

jgomez709

Ok of course it is a fascinating process, thanks for the advice, but the issue goes more to the issue of security, it should not allow you to do this or also for a faster solution allow you to cancel the transmission from the control panel.

Since at this moment my users are not much, but I am migrating them little by little, and doing this operation one by one would be a tedious job.

Link to comment
Share on other sites

PenkethBoy

 but the issue goes more to the issue of security, it should not allow you to do this

 

Emby cant do this as its done by the browser and the browser plugin

Link to comment
Share on other sites

jgomez709

Ok friends, it is clear to me, I will look for a solution through some plugins, but I think I should add the following tools to emby to improve security:

1 .- Since when we subscribe we are paying for connected devices, I think it should be possible to configure in each user or at the global level how many devices a user can use at the same time, for example, a user "A" configure that only 2 devices can use at the same time, or 3 or 4, but not being able to go beyond that range of devices, as it is now that a user connects with "N devices at the same time"

2.- Even though they have explained to me that emby does not control the issue of downloads because it does not recognize it, but in the server log if it is detecting and recognizes the device, then there should be the way to add these devices to A blacklist so you can not download, currently it is not possible, try to solve my problem in this way but I did not find the device.

Thank you.


Greetings.

Edited by jgomez709
Link to comment
Share on other sites

 

 

then there should be the way to add these devices to A blacklist so you can not download,

 

With what they're doing, you would also have to deny them the ability to play content. Do you want to do that?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...