Next-gen security solution for remote workers
Project description
ProtectRemote
next-gen security solution for remote workers
Install
pip install protectremote
Usage
FLASK
Protect all routes
from flask import Flask
from protectremote import ProtechRemoteMiddleware
app = Flask(__name__)
app.wsgi_app = ProtechRemoteMiddleware(app.wsgi_app)
@app.route('/')
def public():
return 'Hello'
@app.route('/secured')
def secured():
return 'secured'
if __name__ == '__main__':
app.run()
Protect specific route only
from flask import Flask
from protectremote import pr_access
app = Flask(__name__)
@app.route('/')
def public():
return 'Hello'
@app.route('/secured')
@pr_access()
def secured():
return 'secured'
if __name__ == '__main__':
app.run()
### DJANGO
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
protectremote-0.0.0.8.tar.gz
(6.2 kB
view details)
Built Distribution
File details
Details for the file protectremote-0.0.0.8.tar.gz
.
File metadata
- Download URL: protectremote-0.0.0.8.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3180384648decec83dca3524c8dea5084a613132f17aaf933037eda0ac7291d1 |
|
MD5 | a7caa6315b21c38939451c6d85794c9e |
|
BLAKE2b-256 | f0f38947ff3092d3583784b348c60a4a574a973c32a707f5676ca3ea4dc824de |
File details
Details for the file protectremote-0.0.0.8-py3-none-any.whl
.
File metadata
- Download URL: protectremote-0.0.0.8-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a7d07bfda71141dec77cd551d569a274d92afe6912df96226d2919d74994e14 |
|
MD5 | 816ad32d0616da972532a4a744caeaad |
|
BLAKE2b-256 | 9b1a5517277894e1abef3b06bf6548b4b3cf1d04345c4f9b439b8b8b847ae8bd |