Back to Browse

Managing User Permissions with Bitwise Operators

8.0K views
Aug 14, 2020
16:16

There are frequently different types of users on a website who have different levels of access and different task permissions. This tutorial explains how you can use a single integer to represent any combination of access permissions, all thanks to the bitwise operators. The bitwise operators will let us manipulate and interrogate numbers at the binary level. Code from video: https://gist.github.com/prof3ssorSt3v3/ac03e6db33bf5d71a646320605b20e8c Bitwise operator basics video: https://youtu.be/EVvZLfJtAK8

Download

0 formats

No download links available.

Managing User Permissions with Bitwise Operators | NatokHD