rpitv / glimpse

Monorepo for the RPI TV Glimpse project
MIT License
3 stars 1 forks source link

Add security checks to distribution API #51

Open robere2 opened 1 year ago

robere2 commented 1 year ago

The distribution server currently does not have any checks in place to see where the video is coming from or going to. We should restrict the "from" and "to" inputs to have to match a certain pattern. For example, only allow reading a recorded .mp4 file OR RTMP feed, and only allow outputting as a file to a specified directory.