peytonl11098 / Ultron

MIT License
1 stars 0 forks source link

CSP Spot Check #1 #9

Open peytonl11098 opened 9 months ago

peytonl11098 commented 9 months ago

Peyton L, Period 2, Not Graded Yet

peytonl11098 commented 9 months ago

database, with database schema change

Show db.Column changes you have made to model/python file in Visual Studio Code

image Show initialization data code in VSCode

image

Demo delete database and run ./migrate.sh

Demo corresponding schema change in SQLite3

Screenshot 2024-02-02 at 3 38 09 PM

Demo initialization data captured in Column in SQLite3

peytonl11098 commented 9 months ago

postman with /authentication screen

Show /authenticate endpoint code in Visual Studio Code

image Show and Demo /authenticate in Postman…

Screenshot 2024-01-31 at 10 17 07 PM

Demo calling to endpoint

Show JSON data passed in call Show Response window Show Cookie acquired window

Screenshot 2024-01-31 at 10 18 07 PM

Cut/Copy/Paste Cookie into jwt.io and show decrypting payload

Screenshot 2024-01-31 at 10 19 16 PM
peytonl11098 commented 9 months ago

postman with /api screen to access data under authentication

Show /api CRUD code in Visual Studio Code, expecting READ/GET code

image

Show and Demo /api READ/GET endpoint in Postman…

image

Demo calling to endpoint that requires Cookie

Screenshot 2024-01-31 at 11 41 50 AM

Show Response/Data Demo Deleting cookie

Screenshot 2024-01-31 at 11 43 04 AM

Screen Shot 2024-01-31 at 11 26 18 AM Demo calling endpoint again Show Response/Failure

Screenshot 2024-01-31 at 11 43 39 AM