{"id":23436817,"url":"https://github.com/lincolnloop/django-protected-files","last_synced_at":"2025-04-13T04:42:20.351Z","repository":{"id":570327,"uuid":"201899","full_name":"lincolnloop/django-protected-files","owner":"lincolnloop","description":"A Django application that lets you serve protected static files via your frontend server after authorizing the user against django.contrib.auth.","archived":false,"fork":false,"pushed_at":"2009-06-01T22:50:40.000Z","size":73,"stargazers_count":32,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-13T04:41:56.223Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://github.com/lincolnloop/django-protected-files","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"miekg/dns","license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lincolnloop.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-05-15T15:15:29.000Z","updated_at":"2023-05-01T01:54:10.000Z","dependencies_parsed_at":"2022-07-05T00:30:38.409Z","dependency_job_id":null,"html_url":"https://github.com/lincolnloop/django-protected-files","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lincolnloop%2Fdjango-protected-files","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lincolnloop%2Fdjango-protected-files/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lincolnloop%2Fdjango-protected-files/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lincolnloop%2Fdjango-protected-files/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lincolnloop","download_url":"https://codeload.github.com/lincolnloop/django-protected-files/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248665783,"owners_count":21142123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-23T13:34:07.307Z","updated_at":"2025-04-13T04:42:20.291Z","avatar_url":"https://github.com/lincolnloop.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Install\n-------\n\n* ``python setup.py install``\n\nUsage\n-----\n\n* add ``protected_files`` to your ``INSTALLED_APPS``\n* add an URL to your protected resource to your ``urls.py`` (see ``tests.urls`` for examples)\n* configure your static server\n\nStatic Server Configuration\n---------------------------\n\nNginx\n^^^^^\n\nPlace this in your Nginx configuration::\n\n    # this location will only be used by your Django application server\n    location /protected {\n        internal;\n        alias   /protected/files/path/;\n    }\n    \nTo Do\n-----\n\n* Support alternative means of authorization (user, group, is_staff, etc.)\n* Support additional static servers (Lighttpd)\n\nAcknowledgements\n----------------\n\nBased on http://www.djangosnippets.org/snippets/491/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flincolnloop%2Fdjango-protected-files","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flincolnloop%2Fdjango-protected-files","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flincolnloop%2Fdjango-protected-files/lists"}