Skip to content

shrinidhi99/Flask-Blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask-Blog

A social media application developed using flask implementing access control policies.

Access Control Policies

  • 3 policies are implemented in this application and are maintained on different branches of this repository
  • RBAC is maintained in branch rbac
  • MAC is maintained in branch mac
  • DAC is maintained in branch dac
  • Use the below instructions to traverse and try out each of these policies.
  • The attached pdf also

Steps to run this app:

The below steps detail the way to build the application. There is no direct executable file because this application requires prerequisites downloaded Once they are downloaded only one command is required.

Prerequisites

Running the app

cd Flask-Blog
virtualenv venv --distribute
source venv/bin/activate
pip3 install -r requirements.txt
pip3 freeze > requirements.txt
git branch
  • Check which branch you are currently in.
  • There are 4 branches: rbac, dac, mac, master
  • Checkout the branch based on which policy needs to be used.
git checkout <branch-name>
python3 run.py

Open 127.0.0.1:5000 on a web browser.

Developers

  • Avakash Bhat (17CO110)
  • Shrindhi Anil Varna (171CO145)

About

A personal blog made using Flask framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors