GithubHelp home page GithubHelp logo

kaihendry / camftp2web Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 9 KB

FTP service for my Webcams

Home Page: https://www.youtube.com/watch?v=6G1iGSypZGk

Makefile 22.77% Shell 77.23%
webcam ftp foscam

camftp2web's Introduction

Setup

echo "user:pass" > ftp-users.txt

These user and passwords correspond to the FTP push upload settings of your Webcams.

How to monitor logs

docker logs -f ftp

How to serve /var/www/cam from Apache

Ensure Digest authentication module is enabled:

/etc/httpd/conf/httpd.conf:LoadModule auth_digest_module modules/mod_auth_digest.so

In Apache to protect the file listings, but not the somewhat unguessable file (TODO: Make them random) names:

tee newfile <<EOF
<Files .>
AuthType Digest
AuthName "cam"
AuthBasicProvider file
AuthUserFile "/etc/httpd/digest-password"
Require valid-user
</Files>
EOF

To create /etc/httpd/digest-password:

# htdigest -c /etc/httpd/digest-password cam letmein

This approach allows you to link to the filenames so that you won't get a constant authentication modal from IOS Safari :(

camftp2web's People

Contributors

kaihendry avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

mkscala

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.